# 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/5ug5x7q
如何在高併發下使用 Redis 實現排行榜的功能**
在我們日常的生活中排行榜是常見的功能,如遊戲的排行榜,銷售額的排行榜等等,排行榜不僅可以讓用戶有更多的激情參與到活動中來,而且可以更好的留存住用戶,如下所示的拉新排行榜: 排行榜是一個常見的業務需求,下面我們就來聊聊如何通過 Redis 來設計一套支持高併發的排行榜的功能。 1、支持高併發的 Zset 實現榜單方案 假設業務需要展示排名前 10 名的用戶在榜單上,假如在每 ⌘ Read more