Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Caching hash

by vit (Friar)
on Jun 29, 2009 at 20:51 UTC ( [id://775813]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://775813]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-18 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found