2008/7/15 Adrian Chadd <[EMAIL PROTECTED]>: > 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
