Skip to content

devi5040/distributed-rate-limiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

distributed-rate-limiter

A distributed rate limiter built with Redis and TypeScript, implementing fixed-window, sliding-window, and token-bucket algorithms via atomic Lua scripts. Designed as an npm workspace monorepo with a pluggable core package for use across HTTP frameworks like Express and Fastify.

Project Structure

distributed-rate-limiter/
├── core/
│   ├── scripts/
│   ├── src/
│   │   ├── algorithms/
│   │   ├── index.ts
│   │   ├── redis-client.ts
│   │   └── types.ts
├── .gitignore
├── LICENSE
├── package.json
├── package-lock.json
├── README.md
└── tsconfig.json

About

A distributed rate limiter built with Redis and TypeScript, implementing fixed-window, sliding-window, and token-bucket algorithms via atomic Lua scripts. Designed as an npm workspace monorepo with a pluggable core package for use across HTTP frameworks like Express and Fastify.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors