sentinel-tutorial icon indicating copy to clipboard operation
sentinel-tutorial copied to clipboard

tokenserver统计请求量的方式

Open classfly opened this issue 5 years ago • 0 comments

看acquireClusterToken的实现,是从ClusterMetricStatistics类维护的ConcurrentHashMap结构中获取,这么做能否实现集群流控(限制总QPS)呢?还是说client在获取tokenserver时,其路由规则可以保证请求一定被路由到某个server呢?

classfly avatar Aug 18 '20 01:08 classfly