| 接口 | 说明 |
|---|---|
| CurrentLimiter |
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
|
| 类 | 说明 |
|---|---|
| CounterCurrentLimiter |
a simple counter implement of current limit algorithm
|
| TokenBucketCurrentLimiter |
Token bucket algorithm Advantage: allow certain burst traffic, and flow control is smoother
|
Copyright © 2019 Baidu, Inc.. All rights reserved.