Re: [squid-users] repopulate cache?

2007-08-29 Thread Matus UHLAR - fantomas
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? 


[squid-users] repopulate cache?

2007-08-25 Thread Frank Ruiz
Greetings,

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.

Is there a way to flush an in memory cache to disk, and use that data
to populate another populate another in memory cache?

The data is dynamic, so I would most likely flush to disk once a day
if this is possible.

What I am looking for is some way to replicate an in memory cache to
another host.

Thanks.


[squid-users] 回复: [squid-users] repopulate cache?

2007-08-25 Thread Techwww

--- Frank Ruiz [EMAIL PROTECTED]写道:

 
 What I am looking for is some way to replicate an in memory cache to
 another host.
 

How about using rsync to do that?


  ___ 
雅虎邮箱,以安全著称,是值得信赖的邮箱专家! 
http://mail.yahoo.com.cn/


Re: [squid-users] repopulate cache?

2007-08-25 Thread Adrian Chadd
On Sat, Aug 25, 2007, Frank Ruiz wrote:
 Greetings,
 
 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.
 
 Is there a way to flush an in memory cache to disk, and use that data
 to populate another populate another in memory cache?
 
 The data is dynamic, so I would most likely flush to disk once a day
 if this is possible.
 
 What I am looking for is some way to replicate an in memory cache to
 another host.

Not without a bit of coding. It wouldn't take that much to implement said
functionality.



Adrian