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

Implement rate limiter #754

Open
riderx opened this issue Jul 23, 2024 · 0 comments
Open

Implement rate limiter #754

riderx opened this issue Jul 23, 2024 · 0 comments

Comments

@riderx
Copy link
Contributor

riderx commented Jul 23, 2024

Describe the bug/issue
use this: https://github.com/elithrar/workers-hono-rate-limit
and free https://developers.cloudflare.com/workers/runtime-apis/bindings/rate-limit/
To rate limit:

  • public api (limit by apikey)
  • private api ( for website by user)
  • plugin endpoints ( by appId linked to plan, to prevent DDOS ) set and getChannel should limited by device as it's controlled by the user
  • update endpoint should be limited by deviceID
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

1 participant