qing-gateway icon indicating copy to clipboard operation
qing-gateway copied to clipboard

feat: 基于Redis+Lua实现四种分布式限流

Open conghuhu opened this issue 2 years ago • 0 comments

四种分布式限流算法:

  • 计数器
  • 滑动窗口
  • 漏桶
  • 令牌桶

粒度的话,以服务为单位,比如traffic服务每秒最大流量1000/s。

conghuhu avatar Jan 07 '23 06:01 conghuhu