Rails 2.2 To Be Thread Safe

One Comment
By Peter Cooper on August 17th, 2008 in News

David Heinemeier Hansson has announced that thanks to some solid work by Josh Peek over the summer, Rails 2.2 will be "thread safe." This will remove one of the common complaints against Rails from Merb fans and enable Rails to be extremely more efficient. While the most popular deployment of Ruby itself (MRI 1.8) doesn't support system threads yet, thread safety is a huge deal because it removes a lot of concurrency issues even with the existing Ruby interpreters.

One Response to “Rails 2.2 To Be Thread Safe”

  1. Mikel Lindsaar Says:

    That is fantastic news.

    I recently had a perfect problem that needed threads… one request had to hit a couple of different databases and combine the result to the view. With threads, this could execute in about 2 seconds, without threads, it takes 9 seconds.

    Big difference and glad to see this is now getting handled. Thanks for the heads up.

    Mikel

Leave a Reply