David Vallner
1/14/2006 6:26:00 AM
On Sat, 14 Jan 2006 06:02:13 +0100, Stefan Kaes <skaes@gmx.net> wrote:
> David Vallner wrote:
>> 2. On a multiple CPU system, where algorithms used in processing the
>> request might benefit from parallelism running multiple processors.
>> Though then again, you probably wouldn't do CPU-intensive operations as
>> these algorithms tend to be in Ruby anyway. As more realistic examples,
>> asynchronous database / remote calls come to mind if you want to
>> implement your own timeout policy to those to handle badly written
>> third party libraries graciously to prevent your application from
>> hanging up.
> Currently you won't benefit from multiple CPUs as Ruby doesn't use
> native threads.
>
> -- stefan
>
Slipped my mind. I was talking in general anyway. And doesn't the pthread
binding let you use native threads? (Didn't really do anything with it
himself)
David Vallner