[Twisted-Python] Bloody Twisted Tree (VFS)
andrew-twisted at puzzling.org
Sun Jul 6 22:04:58 EDT 2008
Jonathan Lange wrote:
> On Mon, Jul 7, 2008 at 1:12 AM, <glyph at divmod.com> wrote:
> > Mapping 'readChunks' and 'writeChunks' to readv and writev in my head, I'm
> > not really sure what a 'readChunks' would actually do, since we copy memory
> > every time we sneeze in Python anyway. We're not going to have preallocated
> > buffers to read into.
> Well, one theoretical advantage is that it can avoid roundtrips in
> cases where the remote file server supports a readv-style operation. I
> can't think of any servers that do this at the moment (maybe the bzr
> smart server? does http 1.1 allow this?), so maybe it's not an issue.
Yes, the bzr smart server does, as does HTTP (via the Range header). On
high-latency links (or even moderate latency links) excessive round trips kill
More information about the Twisted-Python