09 2020 档案
摘要:const redis = require('ioredis'); const clienId = Math.random() * 100; //模拟客户端Id const lockKey = 'testKey' try { const result = await redis.setnx(lock
阅读全文
摘要:1。说明,redis 位图存储节省内存,用户id:156,1333; 如果用户登录,根据日期存储为1 setbit 20209001 156 1 ;//id为156的用户在1月1号登录了 setbit 20200901 1333 1; //id为1333的用户在1月1号登录了 setbit 2020
阅读全文

浙公网安备 33010602011771号