On 15 Nov 2005, at 02:11, Peter1 Alvin wrote:

Please tell me I can do this!
 
Using mod_perl, how do you keep Perl objects in RAM from page to page?  I don't want to re-instantiate my objects on every page request, and I don't want the overhead of serializing my objects to a persistent store from page to page (I use A LOT of objects).
 
I've done extensive reseach and I've not found any "application space" to store objects indefinitly.
 
I can't believe Perl doesn't support keeping objects in RAM.  This would de-qualify Perl for half of the projects I need to develop.

Have a look at:


Currently I use storable and store to disk - we have about 40,000 objects at anyone time, but I'm thinking
of switching to Memcached and putting the object in RAM instead.

The nice thing about Memcached is you can distribute it across your network.

Leo

Reply via email to