# 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/zn4bcta
提高系統的併發能力方案**
面試中經常會被問到如何提高系統的併發能力,針對此問題我整理如下的提高系統併發能力的方案: (1)分流方案:常見的的方案有負載均衡、數據庫拆分 / 集羣、消息隊列(2)導流方案:緩存、CDN(3)系統自身優化:數據庫優化、代碼優化(4)增加資源:增加服務器、CPU、內存等硬件資源1、分流方案——負載均衡    使用負載均衡技術可以將請求分發到多個服務器上進行處理,從而提高系統的併發處理能力 ⌘ Read more