Mention the no_delay connection flag

Also, improve reST formatting a bit and remove a stray .DS_Store file.
This commit is contained in:
Jon Parise
2017-05-05 09:10:56 -07:00
parent 80ca8d7620
commit 9c59975e31
2 changed files with 5 additions and 2 deletions

BIN
docs/.DS_Store vendored

Binary file not shown.

View File

@@ -73,8 +73,11 @@ same key.
Best Practices
---------------
- Always set the connect_timeout and timeout arguments in the constructor to
avoid blocking your process when memcached is slow.
- Always set the `connect_timeout` and `timeout` arguments in the
:py:class:`pymemcache.client.base.Client` constructor to avoid blocking
your process when memcached is slow. You might also want to enable the
`no_delay` option, which sets the TCP_NODELAY flag on the connection's
socket.
- Use the "noreply" flag for a significant performance boost. The "noreply"
flag is enabled by default for "set", "add", "replace", "append", "prepend",
and "delete". It is disabled by default for "cas", "incr" and "decr". It