[Mongrel] Shared memory across mongrels

Sandeep Gudibanda lists at ruby-forum.com
Mon Apr 21 02:39:43 EDT 2008


I have written an application which on initiliazation calculates a graph
based on data in DB. And then any updates on the graph(global variable)
, i am doing both on graph and db.

Everything works fine as long as i work on single mongrel. When i use 2
mongrels, second mongrel cannot see graph in the memory. It gets a null

How do i do this so that graph built in the memory is accessible to all

Sandeep G
Posted via http://www.ruby-forum.com/.

More information about the Mongrel-users mailing list