That makes sense but I was hoping it was referring to connection pooling. I've been trying to shift through the code and figure out the best location to insert code to do dynamic site acceleration / wan optimization between ingress / egress caches which would also needs to include protocol gateways and path selection. Ideally it would be done in a generic fashion such that other developers could add new methods.
Any thoughts on the above would be appreciated. Given the asynchronous model I assumed you had already done read-while-write which is certainly a needed feature given the number of streaming solutions that use http and byte range requests. Thanks /jms On Wed, Dec 23, 2009 at 10:45 AM, Dima Ruban <[email protected]> wrote: > On Mon, Dec 21, 2009 at 09:23:36PM -0700, Leif Hedstrom wrote: > > > > I believe this is being worked on right now, not sure quite what the > > status is. Dima Ruban, want to comment on this (since you "own" this > > part)? It is supposed to work, but I think those "connection_collapsing" > > configs are either not functioning properly, or not at all ;). There is > > a feature called "read-while-write" (rww) which should work, and I > > believe Dima is working on cleaning up this mess a bit. > > Read-while-write feature (proxy.config.cache.enable_read_while_writer) > should work w/ builtin cache. Keep in mind that this feature is nearly > identical to what other products/projects call a forward connection > collapsing. > The way it works is - as soon as writer starts writing object into a cache, > all the subsequent requests to that object will be able to serve it out > from > cache even before writer completes writing the entire object. > Writer starts writing into cache once it receives headers from the origin > server, so if second request came before first request received headers, > read while write isn't gonna come into play. Current code tries to > deal w/ it with 'connection_collapsing' options but as far as I know it > doesn't work properly. > It's gonna be addressed in the newer version of read-while-write that I'm > working > on right now. > > Cheers! > > > > > Cheers! > > > > -- leif > > > > > > --dima >
