You are viewing a previous version of KrakenD Enterprise Edition (v2.1), go to the
latest version
Document updated on Sep 29, 2018
Traffic management overview
KrakenD offers several ways to protect the usage of your infrastructure that might act at very different levels.
The most significant type of traffic management feature is the rate limit, which allows you to throttle the traffic of end-users or the traffic of KrakenD against your backend services. The rate limits mainly cover the following purposes:
- Avoid stressing or flooding your backend services with massive requests (proxy rate limit)
- Establish a quota of usage for your exposed API (router rate limit)
- Create a simple QoS strategy for your API
Traffic Management covers:
- Circuit Breaker: An automatic protection measure for your stack and avoids cascade failures.
- Rate-limiting:
- Service Rate Limiting Enterprise : Sets the maximum throughput users can have to KrakenD.
- Endpoint Rate Limiting: Sets the maximum throughput all connected users can have against specific endpoints.
- Client Rate Limiting: Sets the maximum throughput each end-user has to specific endpoints.
- Proxy Rate Limiting: Sets the maximum throughput KrakenD can have against your backend services
- Spike Arrest: Ensures a minimum time between different requests goes by
- Service Discovery: To detect and locate services automatically on your enterprise network.
- Bot detection: Reject bots carrying out scraping, content theft, and other forms of spam.
You can combine parts or all the traffic management features.