Install Huzzler App

Install our app for a better experience and quick access to Huzzler.

Back
Slobodan Ostojic
@ostibuilds 2 days ago

In memory rate limiter implementation you can use

I looked at starter kit made by WebDevCody and saw this rate limiter implementation.

Very easy to use and does the job, suitable for when you have only one instance. You would need something like Redis to scale this up for multiple instances.


You can check it out here -> https://github.com/webdevcody/wdc-saas-starter-kit/blob/main/src/lib/limiter.ts

Comments

Login to post a comment.

Vincent
Cool! thanks for sharing this
1

Login to post a comment.

Slobodan Ostojic
@ostibuilds
2 days ago
You are welcome!
1

Login to post a comment.