# 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/d5uaufq
深入理解一致性 Hash 和虛擬節點**
在分佈式系統中架構中我們經常提到一致性哈希算法,那麼什麼是一致性哈希算法,爲什麼需要一致性哈希算法呢? 1、爲什麼需要一致性哈希算法 假設現在有三臺緩存服務器(緩存服務器 A、緩存服務器 B、緩存服務器 C),現在將數據預熱到這三臺服務器,我們可以使用負載均衡的方法將數據緩存到服務器上,如下圖所示: 通過負載均衡的方式可以把數據均勻的分發到三臺緩存服務器上,在讀取緩存 ⌘ Read more