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 Limiting tRPC Endpoints #21

Open
gamemann opened this issue Jul 19, 2024 · 1 comment
Open

Rate Limiting tRPC Endpoints #21

gamemann opened this issue Jul 19, 2024 · 1 comment
Assignees

Comments

@gamemann
Copy link
Member

Before initial release, I want to implement rate limiting for tRPC endpoints so attackers cannot use (D)DoS attacks resulting in the web server being overloaded.

@gamemann gamemann added this to the Initial Release milestone Jul 19, 2024
@gamemann gamemann self-assigned this Jul 19, 2024
@gamemann
Copy link
Member Author

I believe it'd be better to use CloudFlare or NGINX for rate-limiting since implementing rate limiting into the code itself will require utilizing something like Redis to store connection info such as requests per second, etc. which will result in more load on the server.

With that said, I'd prefer rate-limiting with CloudFlare since that'd be on the edge of the network.

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