10/8/2019 - 5:20 PM

What is Redis?

Since last few days at work, my seniors suddenly started worrying about the cost of AWS as the users for our product started increasing rapidly, which means large audience interaction, large database requests, large response time, and obviously large costs.

As far as I knew saving data could be done via database only.
I was wrong..
After an hour of discussion about how we can actually save the number of requests to the database, we finally decided to do something known as Caching.


What is Caching?
Caching is the process of storing some data in Cache. Cache is a temporary storage component area where the data is stored so that in future, Data can be served faster.
For our case, we decided to go with Redis.

Redis Usage in Web Applications
- User Session Management
- Caching
- Pub/Sub (Queues & Notifications)
- Leaderboards for gaming apps.
- Geospatial