summaryrefslogtreecommitdiff
path: root/tests/helpers/bonafide_helper.rb
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-08-02 14:50:18 -0400
committerMicah <micah@leap.se>2016-08-02 14:50:18 -0400
commit5dfa7c46d09beaa15efec7248719833e9b6a9e20 (patch)
tree3f3bdfacb71baf45c83560cb8e815fe57bbe4bda /tests/helpers/bonafide_helper.rb
parent9ad1356e7cbbbd9c1ee84c8ab2092974917d09f0 (diff)
Set TCP_NODELAY option for couchdb (#8264)
Mochiweb in couchdb by default sets the TCP socket option SO_NODELAY to false. This means that small data sent to the TCP socket, like the reply to a document write request (or reading a very small document), will not be sent immediately to the network - TCP will buffer it for a while hoping that it will be asked to send more data through the same socket and then send all the data at once for increased performance. Setting this increases the couchdb speed significantly. Change-Id: Ib493ef061ff62c9bdee501e44ce2b55990fe14b7
Diffstat (limited to 'tests/helpers/bonafide_helper.rb')
0 files changed, 0 insertions, 0 deletions