Daemon/socket transport is slow

Bug #773811 reported by Andrew Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pushy
Fix Released
Medium
Andrew Wilkins

Bug Description

Even on localhost, where sockets should short circuit, the daemon transport is extremely slow. A program I wrote using the local transport takes ~0.3s, whereas the daemon transport takes ~4.0s.

Revision history for this message
Andrew Wilkins (axwalk) wrote :

Pushy can be quite chatty, with many small packets sent. Disabling Nagle speeds up Pushy dramatically, by eliminating delays in sending these small packets. After setting TCP_NODELAY, the daemon transport operates at a similar speed to the local transport (at least on the localhost).

Andrew Wilkins (axwalk)
Changed in pushy:
status: Confirmed → In Progress
Revision history for this message
Andrew Wilkins (axwalk) wrote :

Fixed in revision 102.

Changed in pushy:
status: In Progress → Fix Committed
Andrew Wilkins (axwalk)
Changed in pushy:
status: Fix Committed → Fix Released
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.