Memcached之set和get流程

实际使用

客户端指令:
set key 0 0 5
wangh
STORED
get key
VALUE key 0 5
wangh
END

服务端指令:
<36 set key 0 0 5
36: going from conn_parse_cmd to conn_nread
> NOT FOUND key
>36 STORED
36: going from conn_nread to conn_write
36: going from conn_write to conn_new_cmd
36: going from conn_new_cmd to conn_waiting

36: going from conn_waiting to conn_read
36: going from conn_read to conn_parse_cmd
<36 get key
> FOUND KEY key
>36 sending key key
>36 END
36: going from conn_parse_cmd to conn_mwrite
36: going from conn_mwrite to conn_new_cmd
36: going from conn_new_cmd to conn_waiting
36: going from conn_waiting to conn_read

set

get

阅读更多
版权声明:本文为博主原创文章,未经博主允许随意转载。 https://blog.csdn.net/u010710458/article/details/80342592
个人分类: 数据库
所属专栏: MySQL AND NoSQL
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭