LOTD #3: Rails 2.2 going multi-threaded
Rails 2.2 is
slated to href="http://weblog.rubyonrails.org/2008/8/16/josh-peek-officially-joins-the-rails-core">become
multi-threaded. What does it mean for
JRuby users ? Charles Nutter explains it:
What Thread-Safe Rails Means
One of the key points from the blog is:
Rails deployments on
JRuby will use 1/Nth the amount of memory they use
now, where N is the number of thread-unsafe Rails instances currently
required to handle concurrent requests. Even compared to green-threaded
implementations running thread-safe Rails, it willl likely use 1/Mth
the memory where M is the number of cores, since it can parallelize
happily across cores with only "one" instance.
development and GlassFish
deployment already provide an href="http://developers.sun.com/appserver/reference/techart/rails_gf/">ideal
environment for Rails deployment.
All previous entries in this series are archived at href="http://blogs.sun.com/arungupta/tag/lotd">LOTD.
jruby href="http://technorati.com/tag/ruby">ruby href="http://technorati.com/tag/netbeans">netbeans