Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Saving big blessed hashes to disk

by adrianh (Chancellor)
on Jul 20, 2005 at 10:36 UTC ( #476455=note: print w/replies, xml ) Need Help??

in reply to Saving big blessed hashes to disk

Now I'm using store method to save my data. But since some time this operation takes 2-3 seconds, and I'm afraid will grow even more. Data can't be split to parts to save separately.

Two ideas spring to mind:

  • Change your design so that you can split stuff up so you can save/load stuff incrementally (e.g. have the definitive version of your structure on disk and only load what you need to change).
  • Instead of storing the whole data structure, store the changes you make to it. Then you can recover it by replaying the changes.

Without knowing more details of your particular application it's hard to come up with specific advice :-)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2020-07-03 20:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found