movio / bramble

A federated GraphQL API gateway
https://movio.github.io/bramble/
MIT License
497 stars 53 forks source link

Rate limiters on Bramble? #202

Closed marcosuma closed 1 year ago

marcosuma commented 1 year ago

I wonder if it's a good idea / advisable and if it's possible to implement a rate limiter at Bramble level.

Bramble works as a federation gateway and therefore an obvious solution is to have rate limiters on each of the graphql services. But I wonder if something has been thought on having rate limiters on the gateway.

pkqk commented 1 year ago

Hi @marcosuma, yes rate limiters would be a good idea at the gateway level. We haven't had the need for it yet, but I can see the use cases for it.

Like your other issue #203 it could probably be tested out as a plugin.