From: Stefan Kaes Date: 2006-01-14T14:02:13+09:00 Subject: Re: ruby Thread in CGI application? 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 -- For rails performance tuning, see: http://railsexpress.de/blog Subscription: http://railsexpress.de/blog/xml/rss20/feed.xml