redis zset usage

zset means sorted set
it take with a score as sort standards
when you use zadd() add a new element,you need specificed a score as rank stardand

another tip is when you use redis list type,always use rpush,remember this make your leave away from trouble

原文地址:https://www.cnblogs.com/lexus/p/1717736.html