Skip to content

Distributed rate limiter implementation for high-traffic systems using a centralized store and scalable design.

Notifications You must be signed in to change notification settings

Shaamiilll/Distributed-Rate-Limiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Rate Limiter

A distributed rate limiter designed to control request throughput across multiple services in high-traffic environments.
This project demonstrates core backend and system design concepts used in scalable, production-grade systems.

Overview

In distributed systems, rate limiting must work consistently across multiple application instances.
This implementation uses a centralized store to track request counts and enforce limits reliably, even under concurrent access.

The design focuses on:

  • Consistent rate limiting across distributed services
  • High performance under concurrent load
  • Clean, maintainable TypeScript architecture

Features

  • Distributed request counting
  • Configurable rate limits
  • Atomic operations to prevent race conditions
  • Centralized state management
  • Detailed logging for observability

Tech Stack

  • TypeScript
  • Node.js
  • Centralized store (e.g., Redis-compatible design)

Use Cases

  • API gateways
  • Microservices architectures
  • High-traffic backend systems
  • Abuse prevention and traffic control

Purpose

This project is built to demonstrate real-world backend engineering patterns such as concurrency control, distributed coordination, and scalable system design.

About

Distributed rate limiter implementation for high-traffic systems using a centralized store and scalable design.

https://github.com/Shaamiilll/Distributed-Rate-Limiter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published