You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At least in the Python driver we're not currently setting this.
This can cause Nagle's algorithm to kick in and make certain sequences of noreply and regular queries very very slow.
I'm working on a fix.
I think we should include it for 2.0.
(this showed up while experimenting with @peterbe's benchmark)
@peterbe It will ship with RethinkDB 2.0 in about two weeks.
Whether it makes a difference or not will depend on the exact timing of the tests. On my machine it improved things with noreply=True very very considerably, but that might not always be the case.
Activity
danielmewes commentedon Mar 31, 2015
We did already disable it in the JS driver, but not in Python nor Ruby.
Disable Nagle's algorithm in Python and Ruby drivers. Fixes #3998.
danielmewes commentedon Mar 31, 2015
In CR 2759 by @Tryneus
mlucy commentedon Apr 1, 2015
@danielmewes -- this issue says "all drivers", what's the state of Ruby?
danielmewes commentedon Apr 1, 2015
@mlucy That's also fixed by the commit. Sorry, should have added you as an observer or 2nd reviewer. Does it look reasonable?
mlucy commentedon Apr 1, 2015
@danielmewes -- yeah, looks good to me.
peterbe commentedon Apr 1, 2015
As a noob to this community, when will I see this in a pypi release? I'm eager to re-attempt above-mentioned benchmarks.
danielmewes commentedon Apr 1, 2015
@peterbe It will ship with RethinkDB 2.0 in about two weeks.
Whether it makes a difference or not will depend on the exact timing of the tests. On my machine it improved things with
noreply=Truevery very considerably, but that might not always be the case.Disable Nagle's algorithm in Python and Ruby drivers. Fixes rethinkdb…