On 25.08.07 01:59, Frank Ruiz wrote:
> I am not too sure if this is possible, but it would be a nice to have if not.
>
> I am using an all in memory cache now. cache_dir is set to null.
>
> However, if the system reboots, I lose my cache, and have to rebuild,
> taking a toll on the origins.
Each object will be fetched when needed, not when proxy starts up...
> Is there a way to flush an in memory cache to disk, and use that data
> to populate another populate another in memory cache?
not yet. But using cache_dir of the same size and settings (max object size)
than memory will have very similar behaviour.
> The data is dynamic, so I would most likely flush to disk once a day
> if this is possible.
If you expect the system to crash, you'll end up with old data in cache. If
you don't, you don't have to flush, only when shutting down.
> What I am looking for is some way to replicate an in memory cache to
> another host.
setting up sibling relationship will do something similar, but (as above)
each object will be fetched when needed.
-- Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. If Barbie is so popular, why do you have to buy her friends?Received on Wed Aug 29 2007 - 10:48:11 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT