alibaba / alibaba/Sentinel

Add batch request support for transport of cluster flow control

Open
#849 4 comments 0 reactions 1 assignee Claimed by @sczyh30 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.