# 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/54ijiwq
數據庫分片**
在這篇文章中,我們將討論如何擴展數據庫以應對高寫入吞吐量和存儲空間的挑戰。爲此,我們將使用一種叫做分片(sharding)的方法。我們從零開始,假設數據庫只有一個單節點。我們有多個客戶端,它們都在從該數據庫讀取和寫入數據,但由於數據庫僅有一個節點,所有的讀寫操作都集中在這個單一設備上。如果我們的客戶端數量非常多,並且它們的讀寫操作都非常快速,我們很快就會遇到存儲空間不足的情況,而且數據庫的處理速度 ⌘ Read more