# 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/ie3wjva
如何設計一個無懈可擊的緩存系統?**
大家好,我是 Tom 哥。今天我們通過緩存與數據庫之間的一致性這個老生常談的問題來切入,聊聊如何合理的設計一個緩存系統?如今互聯網應用,無論是 web 還是 app,都基本遵循 "前端 - 後端 - 數據庫" 的架構模型當業務處於起步階段,流量比較小的時候,上述能夠支撐;但隨着業務的擴張,用戶數和流量越來越大,也就需要整個架構支撐起更大的併發量,但我們服務器上的資源總是有限的,當每天流量達到高峯時 ⌘ Read more