February 2018
Intermediate to advanced
382 pages
11h 33m
English
The steps for using pipeline are as follows:
~$ cat pipeline.txt set mykey myvalue sadd myset value1 value2 get mykey scard myset
Each line in this text file has to be terminate with an rn and not with n. To achieve this, the command unix2dos can be used:
$ unix2dos pipeline.txt
~$ cat pipeline.txt | bin/redis-cli --pipe All data transferred. Waiting for the last reply... Last reply received from server. errors: 0, replies: 4
Read now
Unlock full access