Add batch request support for transport of cluster flow control
Open
area/cluster-flow
kind/enhancement
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Issue Description
Type: *feature request*
### Describe what happened (or what feature you want)
In the current implementation, if there are multiple cluster rules (=N) of a resource, when checking for cluster rules, the token client will send up to N requests to the token server respectively to acquire tokens. Thus the performance might be bad when there're many cluster rules (e.g. gateway rules for different types of HTTP request items) and the network is not well. We might need to add batch request support for `TokenService` and cluster transport implementations to handle this.
Contributor guide
Assessment
This issue has not been assessed yet.