xetorthio/jedis — Issue #229: pipeline performance
Author: zou
Created: 2011-11-14 22:11:51+00:00
State: open

I have a client that reading using pipeline from Redis. Essentially,
it starts a pipeline, then issue 4k hgetAll calls.

If I run the client in the same data center as redis server, then the
total pipeline read latency is about 35 ms. However, if I run the
client from a remote data center (the ping latency is about 73 ms),
then the total pipeline read is about 1250ms. I know network latency
will make the remote client slower, but that's nearly 40times slower
-- I thought pipeline would essentially help me greatly, so my remote
read would be 35ms + delta, where delta is somewhere around 100 --200
ms

I'm using Jedis 2.0 client, could it be a jedis issue on its
implementation of pipeline client?

Any pointers would be helpful.