# 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/jpjauaa
實戰 Linux I-O 多路複用:藉助 epoll,單線程高效管理 10-000 - 併發連接**
引言-- 在應對高併發連接的傳統策略中,普遍採取爲每個連接配置單獨線程或進程的直接方式,管理其 I/O 操作。此法雖直觀易行,但隨業務規模擴張,線程資源需求急劇上升。相反,Linux 下的 I/O 多路複用技術,尤其是epoll,展示了一種高效路徑:單一線程即可監控成千上萬的文件描述符,極大提升了資源使用效率。 I/O 多路複用的場景有很多,也比較實用。通常用法epoll線程 + 線程 / ⌘ Read more