REDIS – Datatypes and commands

In Caches, Distributed Systems, Microservices, Performance by Prabhu Missier

The REDIS command line is a powerful tool to prototype and even perform operations in production. Since the REDIS command line is very user friendly this post only lists out the commands

LISTS
lpush
rpush
lpop
rpop
lpushx
rpushx
linsert
lset
llen
blpop
lrange
sort

SETS
Sadd
smembers
scard
sismember
sdiff
sinter
sunion
sdiffstore
sinterstore
sunionstore

SORTED SETS
zadd
zcard
zcount
zrem
zscore
zincrby
zrange
zrangebyscore
zrevrange
zrevrangebyscore
zremrangebyscore
zremrangebyrank

HYPERLOGLOG
pfadd
pfcount
pfmerge

HASHES
hset
hkeys
hvals
hgetall
hget
hexists
hlen
hmset
hmget
hincrby
hincrbyfloat
hdel
hsetnx