[Mongrel] Shared memory across mongrels
evan at cloudbur.st
Tue Apr 28 12:00:55 EDT 2009
There is no such facility. Passenger can't do it either, copy-on-write
is an optimization, not a shared memory space.
Using a local memcached instance is the easiest way.
Multithreading is not shared memory across processes, but might give
you enough throughput that you only need to run one mongrel; then the
threads themselves will all share the same heap.
On Mon, Apr 27, 2009 at 10:53 PM, Peter Hug <lists at ruby-forum.com> wrote:
> Sandeep's question initial really simple, yet nobody has given him a
> satisfactory answer.
> I wonder if Rails 2.2 or later provides built in support to share memory
> between multiple mongrel servers. I read that Rails 2.2 was
> multi-threaded so technically shared memory should be an optin.
> If not, Phusion Passenger makes similar claims, yet when I go through
> it's doco I can't find any relevant pointers.
> Posted via http://www.ruby-forum.com/.
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
More information about the Mongrel-users