Re: [squid-users] do store.log SWAPOUT entries indicate comprehensive list of cached urls?

From: Saiteja Peddinti <p_saiteja_at_yahoo.com>
Date: Sat, 7 Jan 2012 11:26:31 +0530 (IST)

Thanks. I did look at one of his projects - embedded content adaptation (writing eCAP adapter using the libecap module). I felt using a simple web client to read store.log and getting cached content from squid might be more easier and straight forward.   Sai Teja Peddinti ----- Original Message ----- From: Amos Jeffries <squid3_at_treenet.co.nz> To: Saiteja Peddinti <p_saiteja_at_yahoo.com> Cc: "squid-users_at_squid-cache.org" <squid-users_at_squid-cache.org> Sent: Saturday, 7 January 2012 12:28 AM Subject: Re: [squid-users] do store.log SWAPOUT entries indicate comprehensive list of cached urls? On 7/01/2012 4:25 p.m., Saiteja Peddinti wrote: > I had one confusion with store.log entries - Whenever a url is cached, does squid immediately write the object to disk and make a swapout entry in the store.log? > > For my project I need to calculate MD5 hashes of url contents, for urls that are cached by squid. I was thinking of reading urls from store.log and querying them with my client. My client would then compute hash and store the results. Since I would make just one query for every cached url, I was assuming that the additional load might be less. Is there any other efficient way to achieve what I want to do? I think you should contact Alex,  (rousskov at measurement-factory.com) about the MD5 hashing. He has been working on a project to calculate and exchange object Digests for URL de-duplication on slow network links. It also requires this type of hash calculation and AFAIK he has already worked out how to do this efficiently inside Squid. Amos
Received on Sat Jan 07 2012 - 05:56:48 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 07 2012 - 12:00:02 MST