# 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/rtxomaa
Redis 事務與 Lua 腳本詳解**
Redis 事務詳解Redis 的事務和 MySQL 的事務在概念上是類似的,都是把一系列操作綁定成一組,讓這一組能夠批量執行。不過,Redis 事務與 MySQL 事務存在以下區別:弱化的原子性:Redis 沒有回滾機制,只能做到批量執行,不能做到一個失敗就恢復到初始狀態。如果事務中若干個操作存在失敗的,那就失敗,不會有回滾操作。 不保證一致性:Redis 事務不涉及約束,也沒有回滾,事務 ⌘ Read more