# 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/jq3ahoq
系統設計中的消息隊列**
在一個電商平臺系統裏, 每當客戶下訂單時,你需要:處理支付。2\. 更新庫存。3. 發送確認郵件。在高峯期立即執行所有這些操作,可能會減慢客戶的體驗。在這種情況下,我們有大量的應用事件,而無法同時處理所有事件。消息隊列的基本架構消息隊列是一個持久化組件,存儲在內存中,支持異步通信。它充當緩衝區,並分發異步請求。消息隊列的基本架構很簡單。輸入服務稱爲生產者或發佈者,創建並將消息發佈到消息隊列。其他服務 ⌘ Read more