当前位置:网站首页>Redis pipeline

Redis pipeline

2022-07-04 21:19:00 Daily enlightenment

service redis_6379 start

yum install nc

nc localhost 6379

keys *

set k1 hello

 

echo -e "abcd\nabcd"        abcd abcd

echo -e "set k2 99\nincr k2\n get k2" | nc localhost 6379        +ok :100 $3 100

redis-cli 

keys *        k1

get k1        hello

原网站

版权声明
本文为[Daily enlightenment]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207042018230147.html