# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/bidxdnq
這才叫分佈式限流算法!**
隨着微服務的流行,服務之間的依賴性和調用關係變得越來越複雜,服務的穩定性變得尤爲重要。業務場景中經常會涉及到瞬時流量衝擊,可能會導致請求響應超時,甚至服務器被壓垮、宕機不可用。出於對系統本身和上下游服務的保護,我們通常會對請求進行限流處理,快速拒絕超出配置上限的請求,保證系統或上下游服務系統的穩定。合理策略能有效應對流量衝擊,確保系統可用性和性能。本文詳細介紹了幾種限流算法,比較各個算法的優缺點, ⌘ Read more