CodePudding user response:
High scores can use redis ZSET, user login do simple implementation can use redis HASH, cookieId as key, set 30 minutes to cache expiration time, can well simulate the similar to the effect of the session,CodePudding user response:
High scores can use redis ZSET, user login do simple implementation can use redis HASH, cookieId as key, set 30 minutes to cache expiration time, can well simulate the similar to the effect of the session,