Daemon/socket transport is slow
Bug #773811 reported by
Andrew Wilkins
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.
Changed in pushy: | |
status: | Confirmed → In Progress |
Changed in pushy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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).