官网有句话
Redis has a different evolution path in the key-value DBs where values can contain more complex data types, with atomic operations defined on those data types.
是不是所有 redis 7 的命令都是原子的?这跟 chatgpt 中给的答案不一样
官网有句话
Redis has a different evolution path in the key-value DBs where values can contain more complex data types, with atomic operations defined on those data types.
是不是所有 redis 7 的命令都是原子的?这跟 chatgpt 中给的答案不一样
|
D0n9Oct 30, 2023
1
chatgpt 的数据是几年前的吧
|
|
nothingistrueOct 30, 2023
2
redis 本质就一命令行工具,每个命令的执行结果,保持原子性,这是必须的。别说 redis 7 ,redis 正式发布的时候,没报漏洞的时候,命令都是原子的。
请注意,redis 命令,跟基于 redis 命令的客户端、SDK ,是两码事,后者通常会组合多个命令一起执行,这时候原子性未知。 |
|
realJamespondOct 30, 2023
3
单线程不是原子的?
|
|
difOct 30, 2023
4
不要过分相信 chatgpt ,这玩意胡扯的时候有模有样的。
|
|
mysunshinedreamsOct 31, 2023
5
@dif 这个确实,之前问过一个库的使用问题,全是胡诌
|
|
venomDOct 31, 2023
6
|