Post Image
  • Post Author By M-Learnify
  • Img 11 Months, 2 Weeks ago
  •   0 Likes
  • Img0
  • Img46

Introduction to Redis

Redis is an open-source, in-memory data store that can be used as:

  • a database

  • a cache

  • and a message broker

It is super fast because it keeps data in RAM, and it's widely used to boost application performance.


Redis = REmote DIctionary Server

What Redis can Do?


Use Case Example
Cache Caching API responses or SQL queries
Session Store Storing logged-in user sessions
Queue Background task queues (via lists)
Pub/Sub Real-time chat or notifications
Leaderboards Using sorted sets (ZADD, ZRANGE)
Rate Limiting Count requests per user (using INCR)