Redis : Pipelines.

Recently did some fun visualizations with horizontal bar. Check it out:


The purpose was to understand how to reduce redis latencies in the presence of a large number of key lookups.

There are two ways :

(1) using pipeline

(2) hash data structure. Redis has atomic commands (HINCRBY) to increment the value of the hash yet, which is super cool !