# 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/6mepqia
如何在億萬級數據中查找數據是否存在**
我們在註冊應用程序的時候,經常會碰見提示用戶名 / 郵箱 / 手機號已存在,需要更換。要實現這種功能的方案有很多種,本文我們就來看看不同設計方案的優缺點。數據庫方案\-\-\-\-\- 這種方法是實現起來最簡單的方案,但是會帶來以下的問題:存在延遲較高的性能問題。如果數據庫數據量很大,查詢速度就會比較慢。此外,數據庫查詢設計應用服務器和數據庫服務器之間的網絡通信。建立連接、發送查詢請求和接收響應需要的 ⌘ Read more