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

Suggestion to approach Rate Limiting? #1102

Open
mike-van opened this issue May 13, 2024 · 1 comment
Open

Suggestion to approach Rate Limiting? #1102

mike-van opened this issue May 13, 2024 · 1 comment

Comments

@mike-van
Copy link

This is more of a question / feature request. Is there an official plugin or recommended library for rate limiting graphql queries with mercuris. I see that there's a lot of libraries out there for rate limiting. e.g: @graphql-mesh/plugin-rate-limit as an official plugin for graphql-yoga.

Has anyone ever implemented rate limiting in production usage with Mercurius? Would greatly appreciate some libraries suggestion?

@amazzoccone
Copy link

amazzoccone commented Dec 16, 2024

Hi, you could implement fastify-slow-down npm package. Rate limit it's usually a server responsability more than a graphql spec concern.

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