Codebase list golang-github-go-kit-kit / b197312
Merge throttling and backpressure Matt Heath 9 years ago
1 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
2929
3030 * Requests SHALL be executed within a request [context](https://blog.golang.org/context), which the server will pass through the request chain.
3131
32 ### Throttling
32 ### Throttling & Backpressure
3333
3434 * A server MAY throttle inbound requests and reject requests from clients based on a number of factors.
3535 * A server MAY respond with either an Out Of Capacity error, or a Rate Limit Exceeded error when rejecting requests.
3636 * A server MAY limit the total number of concurrent requests it can serve.
3737 * A server MAY impose rate limits on specific clients.
3838 * Rate limit behaviour MAY range from minimum request intervals, to time based, or leaky bucket algorithms.
39 * A server MAY implement a pluggable throttle interface, allowing richer implementations - such as an implementation which shares information across instances of the service
40
41 ### Backpressure
42
43 * A server MAY return back-pressure information to clients, via the transport.
39 * A server MAY implement a pluggable throttle interface, allowing richer implementations - such as an implementation which shares information across instances of the service.
4440
4541 ### SLAs
4642