# 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/soerxpa
線上百萬 MQ 消息積壓的快速處理方案**
在我們日常的生產環境上,由於某些原因(如消費者代碼中 bug、消費者端使用的中間件存在性能問題)導致消費者不能處理消息或者消費者處理速度極慢進而導致了線上出現百萬的消息積壓。 假設現在存在百萬消息在消息隊列中堆積,我們如何快速的消費完這些消息呢? 1、優化消費者的代碼 由於消費者現在是消費速度不夠導致了 MQ 消息的積壓,所以我們可以將消費的代碼做優化(如減少業務中不必要 ⌘ Read more