Page MenuHomePhabricator

api-gateway chart: support secondary rate limit
Closed, ResolvedPublic

Description

For the rest-gateway routes, it should be possible to configure a secondary rate limit that will be applied in addition to the primary one (both on the virtual-host level and per-route). The intent is to allow a second limit to be applied in "shadow mode" (dry mode) to determine the impact it would have if enabled.

Event Timeline

@HCoplin-WMF @JTweed-WMF I anticipate that we will want this as a way to try out a new rate limiting regime in "shadow mode" while the old regime is still being enforced. But if you tell me we don't, that makes my life easier.

FWIW, implementing this would add some complexity to to helm charts, but it wouldn't be terrible.

daniel claimed this task.