Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Thread safe rails 2.2 from new core member (rubyonrails.org)
19 points by gtani on Aug 17, 2008 | hide | past | favorite | 8 comments


In jRuby threads are native, so there should be a huge performance boost, has anybody tried it yet?


Notice that the project is to make it thread safe, not to make it multithreaded.


Rails thread unsafety (active record specifically) was the last block on making multi-threaded apps. JRuby, Mongrel, were multithreaded before that. Mongrel has semaphore around main rails call. I assume once you remove it with Rails 2.2 and jRuby it should be multi-threaded. What am I missing?


the only thing google turned up is AC's allow_concurrency switch has been removed (in June)

http://github.com/scottburton11/rails/commit/0c9281e82140f3a...


And a huge memory saving !


What are the implications of this? Any pointers to more substantive conversation on the topic? ("enterprisey check list" doesn't say much...)


I came across this much more helpful summary on reddit: http://blog.headius.com/2008/08/qa-what-thread-safe-rails-me...


Thank god!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: