# 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/qtb3zhq
Postgres 內核 checkpoint 設計機制**
checkpoint 概述Postgres 數據庫將數據庫中發生的所有更改寫入日誌文件,然後再寫入實際的數據文件。這些日誌文件被稱爲WAL (Write-Ahead log,預寫式日誌)。在將這些更改刷新到磁盤之前,它們一直保存在內存中,並在需要時從內存中返回。由於多種原因,直接寫入數據文件是一項成本很高的操作,並且需要定期執行。另一方面,向WAL文件寫入並不那麼昂貴,因爲日誌是所有更改的連續記錄 ⌘ Read more