redis Cheetsheet

What is redis?

The redis is a cache service, allowed store data in memory(RAM) for high-performance data retrieval and storage purpose.

We can consider redis as a giant JSON that has Key Value Pairs.

Instead of retrieving the data from SQL database directly, we can stored the data in the redis cache instance. So that the web server will check with redis first.

How to deploy the redis?

Docker Container

Cloud Service: AWS, Azure, Google

Own Servers: Master Node, Read Replica

sudo apt-get install redis