
1 Duolingo 2017 年 9 月 14 日 via iPhone redis 是单线程的,所以不会(我觉得 |
2 flynnX 2017 年 9 月 14 日 多个进程同时操作也是分先后的,Redis 只能一次处理一个命令,不会造成不一致的情况 |
4 flynnX 2017 年 9 月 14 日 https://redis.io/commands/rpoplpush 可以使用这个命令 > Atomically returns and removes the last element (tail) of the list stored at source, and pushes the element at the first element (head) of the list stored at destination. |
6 nooper 2017 年 9 月 14 日 via iPad transactions 添加 watch |
7 JingKeWu 2017 年 9 月 15 日 用 lua 我们也是用 lua 来保证原子性 eval 函数 |