# 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/randfjq
分佈式事務設計與實踐**
異步消息隊列:用於在服務之間傳遞事務信息和狀態,確保各服務可以異步地處理事務操作。 事務協調器:負責協調和管理全局事務的狀態,包括提交和回滾操作。 補償機制:在事務失敗時,通過補償操作來回滾或修復之前的操作,以保證數據的一致性。 設計步驟1\\. 事務初始化事務發起者:事務開始時,由事務發起者(例如用戶請求服務)向事務協調器發起一個全局事務。 事務 ID:事務協調器生成一個全局 ⌘ Read more