Query Buffer and Client output buffer

52 views
Skip to first unread message

Dbz Fan

unread,
May 5, 2015, 9:18:00 AM5/5/15
to redi...@googlegroups.com
How much space does query buffer and output buffer (or in general normal client buffer )consume is there any way to estimate it?

When I was continously inserting all volatile keys in redis ,I observed there was difference of almost 50MB memory consumption(used_memory) when I used one client and when i used 1000 clients. The 1000 clients where inserting keys sequentially i.e client 1 then client 2 .. client 1000 then client 1 client 2 .... and so on.

When I check with "client list" command i see omem=0  and qbuf-free=32768 for all clients .Which parameter could be could be causing the increase in used_memory ?

Dbz Fan

unread,
May 5, 2015, 12:03:32 PM5/5/15
to redi...@googlegroups.com
Here are some stats from INFO command:
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

Dbz Fan

unread,
May 6, 2015, 5:47:13 AM5/6/15
to redi...@googlegroups.com
Ok so another piece of information I simple connected 1000 jedis clients to redis performing no operations I see 

used_memory_rss as 36.6 MB , 
used_memory as 20.76MB
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

And on firing "client list" all clients have similar info :
id=231 addr=10.55.yyy.yyy:57972 fd=234 name= age=221 idle=221 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=auth

Any inputs anyone?
Reply all
Reply to author
Forward
0 new messages