mercurius icon indicating copy to clipboard operation
mercurius copied to clipboard

Suggestion to approach Rate Limiting?

Open mike-van opened this issue 1 year ago • 2 comments

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?

mike-van avatar May 13 '24 04:05 mike-van

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

amazzoccone avatar Dec 16 '24 17:12 amazzoccone

@mike-van do you use the subscription feature?

avifenesh avatar Mar 24 '25 07:03 avifenesh