# 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/52kes3a
Kafka 如何實現每秒百萬級高併發寫入?**
大家好,我是 mikechen。磁盤順序寫Kafka 採用順序寫入日誌文件的方式,這種方式比隨機寫入快得多。爲什麼採用磁盤順序寫要快很多呢?如下圖所示:一般,完成一次磁盤 I/O(輸入 / 輸出)操作,通常需要經歷以下三個主要步驟:尋道、旋轉、和數據傳輸。尋道:磁頭從當前位置,移動到包含目標數據的軌道,這個過程可能需要幾毫秒時間; 旋轉:盤片旋轉直到目標數據正好位於磁頭下方,通常也需要幾毫秒 ⌘ Read more