登录和 cookie 缓存

hash “login:” token user
zset “recent:” toekn timestamp //最后一次出现时间
zset “viewed:”+token item timestamp // 浏览记录
hash “cart:”+session item count

网页缓存

数据行缓存

string “inv:”+id json数据
zset “delay:” row_id delay
zset “schedule:” row_id time().time()

网页分析