1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/website/docs/reference
Christopher Kolstad b06613d1b0
feat: Adds rate limiting to metric POST endpoints (#5075)
### What
The heaviest requests we serve are the register and metrics POSTs from
our SDKs/clients.
This PR adds ratelimiting to /api/client/register, /api/client/metrics,
/api/frontend/register and /api/frontend/metrics with a default set to
6000 requests per minute (or 100 rps) for each of the endpoints.

It will be overrideable by the environment variables documented.

### Points of discussion
@kwasniew already suggested using featuretoggles with variants to
control the rate per clientId. I struggled to see if we could
dynamically update the middleware after initialisation, so this attempt
will need a restart of the pod to update the request limit.
2023-10-18 13:00:44 +02:00
..
api/legacy/unleash
deploy feat: Adds rate limiting to metric POST endpoints (#5075) 2023-10-18 13:00:44 +02:00
integrations feat: add more events in integrations (#4815) 2023-09-29 16:11:59 +01:00
sdks docs: make videos bigger (#4980) 2023-10-10 11:42:25 +02:00
activation-strategies.md docs: suggest to use strategy constraints instead of custom strategies (#4215) 2023-07-11 11:35:58 +02:00
api-tokens-and-client-keys.mdx
archived-toggles.md
change-requests.md docs: make videos bigger (#4980) 2023-10-10 11:42:25 +02:00
custom-activation-strategies.md docs: suggest to use strategy constraints instead of custom strategies (#4215) 2023-07-11 11:35:58 +02:00
dependent-features.md docs: dependent features (#5058) 2023-10-18 08:57:04 +02:00
environments.md docs(1-1262): Change addons -> integrations (#4523) 2023-09-14 15:27:51 +02:00
event-log.md
event-types.mdx docs(1-1262): Change addons -> integrations (#4523) 2023-09-14 15:27:51 +02:00
feature-flag-naming-patterns.mdx
feature-toggle-types.md
feature-toggle-variants.md docs: new variants per environment (#2590) 2023-02-24 15:25:03 +01:00
feature-toggles.mdx
front-end-api.md
impression-data.md
login-history.md docs: add feature availability troubleshooting guide (#4989) 2023-10-10 11:17:06 -05:00
maintenance-mode.mdx
network-view.mdx
notifications.md feat: change request reject docs and step update (#4493) 2023-08-16 09:46:05 +02:00
playground.mdx docs/video embed, academy video embed fixes (#5005) 2023-10-11 14:20:16 -05:00
project-collaboration-mode.md
projects.md
public-signup.mdx
rbac.md
segments.mdx docs: make videos bigger (#4980) 2023-10-10 11:42:25 +02:00
service-accounts.md docs: add feature availability troubleshooting guide (#4989) 2023-10-10 11:17:06 -05:00
sso.md
stickiness.md
strategy-constraints.md docs/video embed, academy video embed fixes (#5005) 2023-10-11 14:20:16 -05:00
strategy-variants.md docs: make videos bigger (#4980) 2023-10-10 11:42:25 +02:00
tags.md
technical-debt.md refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
unleash-context.md
whats-new-v4.md