5. Let’s write some code!
https://gist.github.com/reterVision/7037762
6. Pipeline
Essentially is cache all the commands you want to send to redisserver
and send them all at once when you feel good.
*3
(continue with left…)
$4
*2
HGET
$7
$9
HGETALL
test:hash
$9
$5
hello
test:hash
7. Pipeline Response
$13
<- String length of first cmd response
[1,2,3,4,5,6]
<- First cmd resp
*2
<- Parameters count of second cmd resp
$2
<- String length of 1st param of second cmd resp
55
<- 1st param of second cmd resp
$13
<- String length of 2nd param of second cmd resp
[1,2,3,4,5,6]
<- 2nd param of second cmd resp