Why is the system design interview so important?

2nd Feb 2023
Table of contents

I've used Redis in production for almost a decade. Here are my top 5 use cases where it shines:

Caching

The most common use case is to utilize Redis for caching objects or pages. This helps protect the database layer from overloading.

Session

We use Redis to share user session data among stateless servers.

Distributed lock

We use Redis distributed locks to grant mutually exclusive access to shared resources.

Counter and Rate Limiter

These two use cases are related.

We use Redis to track like counts on social media apps, and also to enforce rate limits on our endpoints.

Leaderboard

Sorted Sets is a delightful way to implement a gaming leaderboard.

There are many other features in Redis. What have you used at scale in production?

Bạn thấy bài viết này như thế nào?
0 reactions

Add new comment

Image CAPTCHA
Enter the characters shown in the image.

Related Articles

Bài viết này mình chia sẻ cách đóng gói ứng dụng trong một image của Docker và chạy image đó trên Google Kubernetes Engine cluster sử dụng Load-Balanced để có thể scale theo nhu cầu của người dùng.