| Interface | Description |
|---|---|
| RateLimiter |
current limit interface in brpc server
according to brpc c++, if limit is reached,
rpc server will return error to rpc client immediately rather than queue up
|
| Class | Description |
|---|---|
| CounterRateLimiter |
a simple counter implement of current limit algorithm
|
| CurrentLimitInterceptor |
Rpc server current limit interceptor
Specific current limiting algorithm leaves to the
RateLimiter |
| RateLimitInterceptor |
Rpc server current limit interceptor
Specific current limiting algorithm leaves to the
RateLimiter |
| TokenBucketRateLimiter |
Token bucket algorithm Advantage: allow certain burst traffic, and flow control is smoother
|
Copyright © 2020 Baidu, Inc.. All rights reserved.