Adi Fairbank wrote:
> 
> I am trying to squeeze more performance out of my persistent session cache.  In
> my application, the Storable image size of my sessions can grow upwards of
> 100-200K.  It can take on the order of 200ms for Storable to deserialize and
> serialize this on my (lousy) hardware.
> 
> I'm looking at RSE's MM and the Perl module IPC::MM as a persistent session
> cache.  Right now IPC::MM doesn't support multi-dimensional Perl data
> structures, nor blessed references, so I will have to extend it to support
> these.

Is there a way you can do that without using Storable?  If not, maybe
you should look at partitioning your data more, so that only the parts
you really need for a given request are loaded and saved.

I'm pleased to see people using IPC::MM, since I bugged Arthur to put it
on CPAN.  However, if it doesn't work for you there are other options
such as BerkeleyDB (not DB_File) which should provide a similar level of
performance.

- Perrin

Reply via email to