Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limiter #119

Open
ertankucukoglu opened this issue Feb 6, 2022 · 1 comment
Open

Rate limiter #119

ertankucukoglu opened this issue Feb 6, 2022 · 1 comment

Comments

@ertankucukoglu
Copy link

Hello,

Even if we do not want, there are some "attacks" made to some servers like DoS for example.

I wonder if there is a ready to use/easy to use rate limiter that is/can be compatible with MARS. I also would like to hear how other users are solving such problems.

If above is not possible or easy, can MARS include a rate limiter in the future? I vote for that.

I have no experience about rate limiting, but with guidance, I would like to help writing code for this feature to make it available sooner than later.

Thanks & Regards,
Ertan

@kitesoft
Copy link
Contributor

kitesoft commented Mar 2, 2022

hello
you can create your middleware
here a sample
https://github.com/dliocode/horse-ratelimit/blob/master/src/Horse.RateLimit.pas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants