On Tue, Jun 23, 2009 at 4:37 PM, Jacob Kessler<
Jacob.Kessler@...> wrote:
> While I can't refer to any published figures for threaded vs. non-threaded
> rails, I've found that with GlassFish (either V3 server or gem) it
> represents a 30% or so memory increase, but since you only need a single
> instance it's worth it if you would need to run more than one Rails instance
> to serve your load. As Joseph mentioned, GlassFish gem should automatically
> detect that you are running Rails in multithreaded mode and configure itself
> to take advantage of that.
There's another advantage to running threadsafe with Rails: faster
warmup. With many instances of Rails, each one has its own warmup
cycle before methods compile, caches fill, etc. Running in threadsafe
mode warms up a lot faster.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email