提交 27a380d8 编写于 作者: M Manju Rajashekhar

Update notes/recommendation.md

上级 98bca27d
......@@ -52,9 +52,9 @@ By default, nutcracker waits indefinitely for any request sent to the server. Ho
## Error Response
Whenever a request encounters failure on a server we usually send to the client a response with the general form `SERVER_ERROR <errno description>\r\n`
Whenever a request encounters failure on a server we usually send to the client a response with the general form - `SERVER_ERROR <errno description>\r\n` (memcached) or `-ERR <errno description>` (redis).
For example, when a server is down, this error response is usually:
For example, when a memcache server is down, this error response is usually:
+ `SERVER_ERROR Connection refused\r\n` or,
+ `SERVER_ERROR Connection reset by peer\r\n`
......@@ -63,7 +63,7 @@ When the request timedout, the response is usually:
+ `SERVER_ERROR Connection timed out\r\n`
Seeing a `SERVER_ERROR` response should be considered as a transient failure by a client which makes the original request an ideal candidate for a retry.
Seeing a `SERVER_ERROR` or `-ERR` response should be considered as a transient failure by a client which makes the original request an ideal candidate for a retry.
## read, writev and mbuf
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册