[PYCBC-32] python SDK should use TCP NODELAY? Created: 21/May/12 Updated: 11/May/13 Resolved: 28/Aug/12 |
|
| Status: | Closed |
| Project: | Couchbase Python Client Library |
| Component/s: | library |
| Affects Version/s: | None |
| Fix Version/s: | 0.8.0 |
| Security Level: | Public |
| Type: | Bug | Priority: | Major |
| Reporter: | Steve Yen | Assignee: | Matt Ingenthron |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I noticed while writing a python app that going through server-side moxi against a 2 node cluster was faster than using the python smart client 1.0. Not 100% sure why, but a quick grep shows the python client is not using TCP NODELAY. Like...
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) |
| Comments |
| Comment by Benjamin Young [ 28/Aug/12 ] |
| http://review.couchbase.org/#/c/20263/ |