2008/7/15 Adrian Chadd <adrian_at_squid-cache.org>:
> I've been planning out the implementation of client-side delay pool
> writes for a while and I think I'm coming close to a final design.
[snip]
I've gone and implemented the first cut of this. The changesets should
appear shortly at
http://squid.sourceforge.net/changesets/squid/delay_pool_write.html .
The changes thus far:
* "slow write fd" set, which is dequeued linearly atm and should be
randomised later;
* abstracted out the delay_pools_access acl type into its own type
rather than frobbing DelayConfig;
* added code into comm_write / commHandleWrite to delay the write if needed;
* used delay_pools_access for the existing delay_access ACL and the
new delay_client_reply_access ACL
* added "delayClientReply()" which uses an ACL lookup to choose the
pool for the given -reply-;
* glued it all together!
It works thus far with minimal testing. I'm now going to abstract out
the delayClient / delayClientReply routines a little more so I can do
request/reply ACLs for server-read and client-write delay pools, but
thats not important at the present time.
Comments please!
Adrian
Received on Wed Jul 16 2008 - 12:43:23 MDT
This archive was generated by hypermail 2.2.0 : Wed Jul 16 2008 - 12:00:06 MDT