Hi Allan,

How does ATS manage the expired objecs? If an object has expired/removed , I 
assume allocated space for it can later be used by other objects. 

Total size is pre-allocated for ATS, but using the allocated space effectively 
is still an optimization. So I assume removing the duplicated data will do it.

If my understanding is correct, I like to implement this; Write all cachable 
content to disk when they arrive and a background low priority process will 
check for dublicates and remove them. Do you think is this possible?

PS: I am very new to ATS, and the link you provided is quite low level. So 
above is my basic expectation at best from a file system like structure.

Kind regards
Saltuk Alakuş 







-----Original Message-----
From: Alan M. Carroll [mailto:a...@network-geographics.com] 
Sent: Tuesday, September 02, 2014 1:53 AM
To: dev@trafficserver.apache.org
Subject: Re: generating hash from packet content

Luca,

Monday, September 1, 2014, 1:49:13 PM, you wrote:

> You can also choose to store it in cache and delete dupe in a second moment.

You could, but once you've written to cache, you have advanced the write 
cursor. Deleting the duplicate later has no effect except changing a directory 
entry. To have any benefit, you need to detect it as a duplicate before writing 
it to disk.

Reply via email to