3

C 端用户日志查询问题

 2 years ago
source link: https://www.v2ex.com/t/818113
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

C 端用户日志查询问题

  kikione · 1 天前 · 653 次点击

用户有专一的 token ,key 是唯一的随机字符串。value 是用户信息

我们在定位问题的时候,要从 redis 海量的 token 中找具体用户的 token 。

但我们只能拿到用户的手机号这个信息,并不能根据手机号去找 token 。

请问这种情况下下,大家都是怎么设计的?快速定位某个用户的 token


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK