Repository.insert_record_stream behaves badly for tcp

Bug #334180 reported by Robert Collins
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned
Breezy
Triaged
Low
Unassigned

Bug Description

We currently write the headers and then the first payload of data, this
causes the socket to delay sending the first payload of data longer than
necessary - we should gather up a decent amount of data (say 16K or 64K)
before writing to the socket at all.

 affects bzr

Revision history for this message
Martin Pool (mbp) wrote :

Alternatively use the 'cork' sockopt.

tags: added: hpss performance
Changed in bzr:
status: New → Confirmed
importance: Undecided → Low
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Low
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.