KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
ratelimit
★ 15
Open GitHub ↗
分布式限流实现
Download README (.md)
Explore Similar Repositories
SnowSimulation
:
Position based snow simulation with the phase change effects
inkscape-multicalendar
:
Extended version of Inkscape svgcalendar
volumio-snapserver-plugin
:
A new version of the SnapServer functionality, totally revamped.
AutoSchedule
:
Automatically generate class schedules for CUHZ(SZ) students.
JATE
:
A text editor created in C which supports all features expected from a minimal text editor with no dependencies
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
ratelimit
?
Download (.md)
# 分布式高并发服务限流实现方案 ### 服务限流场景 在高并发大流量系统中,由于并发大造成服务资源不足,负载过高,进而引发致一系列问题,这里的流量一般都是突发性的,由于系统准备不足,很难短期扩容来应对 ,进行限流是最常用的手段,所以说限流也是服务稳定性治理重要的手段。 限流可能发生在多个层面: 1.用户网络层:突发的流量场景如热点事件流量(秒杀事件、热门抢购,微博热搜),恶意刷流,竞对爬虫等。 2.内部应用层:上游服务的异常调用,脚本异常请求,失败重试策略造成流量突发。 ### 实现限流方案 常用的限流方法主要有三种:计数器算法,漏斗桶算法,令牌桶算法。 ### 阅读全文链接 [分布式高并发服务限流实现方案](https://mp.weixin.qq.com/s?__biz=MzIyMzMxNjYwNw==&mid=2247483695&idx=1&sn=7d5528e8a6bc2296d4871e74a0270550&chksm=e8215e3fdf56d729b8e0d9fb077cbd37216173f6ffad442a6a3d383052d4f05892538ef64645&token=1881094077&lang=zh_CN#rd) 扫码关注微信订阅号支持: 