hpss protocol buffers too much outgoing data

Bug #590638 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Martin Pool

Bug Description

ProtocolThreeResponder buffers up, via _ProtocolThreeEncoder, up to 1MB of data. This is eventually flushed out when the whole stream finishes, but it does mean that small chunks may sit inside the application buffer for multiple seconds: this might leave the network idle or cause bad tcp flow. Instead we should write out to the OS after every chunk.

Related branches

Martin Pool (mbp)
Changed in bzr:
milestone: none → 2.2.0
Martin Pool (mbp)
Changed in bzr:
assignee: nobody → Martin Pool (mbp)
Andrew Bennetts (spiv)
Changed in bzr:
status: Confirmed → In Progress
Martin Pool (mbp)
Changed in bzr:
status: In Progress → Fix Released
Vincent Ladeuil (vila)
Changed in bzr:
milestone: 2.2.0 → 2.2b4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.