# 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/kcuz6la
350 行 C 代碼實現 epoll reactor 模型**
有了 epoll 爲什麼還需要 reactor?----------------------------響應快,不必爲單個同步事件所阻塞,雖然 Reactor 本身依然是同步的; 編程相對簡單,可以最大程度的避免複雜的多線程及同步問題,並且避免了多線程 / 進 程的切換開銷; 可擴展性,可以方便的通過增加 Reactor 實例個數來充分利用 CPU 資源; 可複用性,reacto ⌘ Read more