in reply to Re: Caching hash
in thread Caching hash

This is associated with BerkleyDB. I did not see there anything about keeping the DB cached between sessions or shearing between processes, or it is possible?

Replies are listed 'Best First'.
Re^3: Caching hash
by Arunbear (Prior) on Jun 29, 2009 at 21:21 UTC
    The DB would be stored on the filesystem, so you can access it via its name between sessions or processes. It would be up to you to manage 'expiry' of the data, unless you use a wrapper like Cache::BerkeleyDB
      Will it work for ActivePerl? I tried to install using ppm and it says "ppm install failed: Can't find any package that provide ..."
        For a DB of this 1-2GB size, I would be thinking along the lines of MySQL. Its free and its supposed to work pretty well and Perl has fantastic SQL I/F. I'm thinking about this for one my apps, but don't have experience with it yet.