diff options
author | dormando <dormando@rydia.net> | 2019-10-16 19:23:51 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-02-01 14:36:23 -0800 |
commit | 2fb221781508c1c1fd274b709ce446efc5aa1e80 (patch) | |
tree | 9d43b3b0d337269a9fcd0a01532888e1fe80bede /doc | |
parent | 8e59147cba140aa7d592b483806a2a8fadb562a2 (diff) | |
download | memcached-2fb221781508c1c1fd274b709ce446efc5aa1e80.tar.gz |
network: transient static read buffer for conns
instead of 2k and then realloc all over every time you set a large
item, or do large pipelined fetches, use a static slightly larger
buffer.
Idle connections no longer hold a buffer, freeing up a ton of memory.
To maintain compatibility with unbound ASCII multigets, those fall back
to the old malloc/realloc/free routine which it's done since the dark
ages.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocol.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt index 85b92f5..4678e21 100644 --- a/doc/protocol.txt +++ b/doc/protocol.txt @@ -1100,6 +1100,8 @@ integers separated by a colon (treat this as a floating point number). | response_obj_bytes | 64u | Number of bytes used for response objects | | response_obj_total | 64u | Total nummber of response objects | | response_obj_free | 64u | Current free cached response objects | +| read_buf_bytes | 64u | Total read buffer bytes allocated | +| read_buf_bytes_free | 64u | Total read buffer bytes cached for reuse | | reserved_fds | 32u | Number of misc fds used internally | | cmd_get | 64u | Cumulative number of retrieval reqs | | cmd_set | 64u | Cumulative number of storage reqs | |