Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Caching hash

by vit (Friar)
on Jun 29, 2009 at 20:45 UTC ( #775809=note: print w/replies, xml ) Need Help??

in reply to Re: Caching hash
in thread Caching hash

The reading is slow. I use Storable and the data size is around 1g. It is processed (calculations) in less then one sec, but read much longer.

Replies are listed 'Best First'.
Re^3: Caching hash
by gaal (Parson) on Jun 30, 2009 at 05:22 UTC
    That's a lot of data! I bet you don't need it all at once on the transient CGIs, though.

    Should your long-running process provide a query interface? That way the random scripts that come and go only ask it for the stuff they need. You can memcache the results of these queries if you like. No need to spend 1gb on the cache: experiment with some values, see what your hit rates are.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-09-26 03:00 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (116 votes). Check out past polls.