[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

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)

Comment by Benjamin Young [ 28/Aug/12 ]
Generated at Sat Oct 25 20:18:22 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.