# 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/pb5xprq
如何使用 Redis 實現記錄和統計用戶連續簽到天數**
在我們日常玩的遊戲中或一些銀行類 app 上,他們爲了提高用戶的活躍度,設計了簽到領取獎勵的功能,當用戶連續簽到多少天之後我們可以獲得相應的獎勵,如下是某個 app 中籤到頁面:    用戶簽到的數據如果直接存到數據庫中是不推薦的,因爲需要一張簽到表來單獨的記錄每個用戶的每天簽到數據,隨着業務的發展,一旦用戶量非常大的時候,那麼簽到表的數據會急劇的增長,到最後會存在性能的問題。下面我們來介 ⌘ Read more