# 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/i5j25gq
高併發下如何輕鬆的保證接口冪等性**
日常的開發中有些接口對冪等性有嚴格的要求,如增加 / 扣減積分、用戶支付 / 退款等場景,如果沒有做接口的冪等性就會造成一定的資損或者用戶投訴等問題。如下是增加積分過程,若接口未做冪等處理,現在由於積分服務響應超時導致 Nginx 重試: 會出現由於積分服務沒有做接口冪等處理,Nginx 重試操作使得積分接口多次被調用,最終會給用戶多加了積分。 那麼導致接口重複執行的來源有 ⌘ Read more