---
title: "Discussion on \"System Design Drill Day 7: Rate Limiting APIs, Logins and OTPs with Redis\" | Hashnode"
description: "Discussion on \"System Design Drill Day 7: Rate Limiting APIs, Logins and OTPs with Redis\". The main rate-limiting algorithms, how to run them atomically across servers with Redis and Lua, and when to fail open or closed."
url: "https://hashnode.com/posts/system-design-drill-day-7-rate-limiting-apis-logins-and-otps-with-redis/6add73445b480f0ae1c517e6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [System Design Drill Day 7: Rate Limiting APIs, Logins and OTPs with Redis](https://blog.anishansari.com.np/system-design-drill-day-7-rate-limiting-apis-logins-and-otps-with-redis?utm_source=hashnode&utm_medium=feed)

The main rate-limiting algorithms, how to run them atomically across servers with Redis and Lua, and when to fail open or closed.

Oct 25 · 8 min read · blog.anishansari.com.np  
Read the article

-   [#interview-preparation](https://hashnode.com/tag/interview-preparation)
-   [#system-design](https://hashnode.com/tag/system-design)
-   [#redis](https://hashnode.com/tag/redis)
-   [#backend](https://hashnode.com/tag/backend)
-   [#laravel](https://hashnode.com/tag/laravel)

## Written by

[Anish Ansari](https://hashnode.com/@anish78)

@anish78 · kathmandu, Nepal

  
[View profile](https://hashnode.com/@anish78)

Food,Code and Cloud Computing. You can support here :https://www.buymeacoffee.com/anishansari

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
