I meant to respond to this one earlier, and your Storable question reminded me.
On Wed, 2005-07-06 at 14:01 -0700, Bill Whillers wrote: > Instead of using Apache::Reload to monitor periodically re-cached flat files > of session configuration data, I'm considering implementing MLDBM::Sync or > BerkeleyDB. > > The amount of data needing to be loaded during each session is relatively > small and variable (10-25k) but typically, these configurations are used to > load hashes, arrays and other types. --- (surprise, right?) You should probably take a look at this: http://cpan.robm.fastmail.fm/cache_perf.html MLDBM::Sync is pretty good, and solid. BerkeleyDB is very fast, and I've had good luck with it, but some people have data corruption issues with it, so consider how valuable this data is and test carefully. Cache::FastMmap is very fast, but is a lossy cache -- it will drop things if the cache gets too big. That's probably not appropriate for session data unless you know for sure how big your data will be. Incidentally, a local MySQL server doing simple hash-like operations is faster than most of the cache modules on CPAN, including MLDBM::Sync, but not BerkeleyDB or Cache::FastMmap. You should consider that before going to a lot of trouble with one of these other modules. - Perrin