[Mongrel] Shared memory across mongrels

Piyush Ranjan piyush.pr at gmail.com
Mon Apr 21 10:54:04 EDT 2008


Sandeep
you may use a different ruby process to contain this graph and your mongrel
based rails processes may talk to this drb instance and access the graph. 2
or more mongrel process do not share any data as they are completely
different processes.

Piyush

On Mon, Apr 21, 2008 at 7:26 PM, Joey Geiger <jgeiger at gmail.com> wrote:

> Any this really isn't a "mongrel" issue, but more an issue with the
> framework you're using.
>
> On Mon, Apr 21, 2008 at 8:43 AM, Roger Pack <rogerpack2005 at gmail.com>
> wrote:
> > >  How do i do this so that graph built in the memory is accessible to
> all
> >  >  mongrels?
> >  Save data to a DB, or to a session variable ?
> >  remember it's like having two separate processes--they don't share
> >  memory at all by default.
> >  -R
> >
> >
> > _______________________________________________
> >  Mongrel-users mailing list
> >  Mongrel-users at rubyforge.org
> >  http://rubyforge.org/mailman/listinfo/mongrel-users
> >
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20080421/7b51c02b/attachment.html 


More information about the Mongrel-users mailing list