While writing some kind of stand-alone application I met problem of reserve saving in-memory data to disk (to recover if smth went wrong). After searching I've found Storable lib. 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.
The only way that I see now is to make some kind of replicate-daemon which will catch small portions of "what-to-change" and replicate the same data structure.
Can someone suggest me what to do? :)