Unverified50% confidenceFactExact time
The atomicity of Redis Lua scripts comes from Redis's single-threaded execution model: no other commands are interleaved while the server executes a Lua script, so read—compare—deduct—write-back is indivisible to the outside.
1
Sources
50%
Confidence
Long-term
Relevance
10/18/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedAfter Redis 6.0, I/O multithreading was introduced, but command execution remains single-threaded.61% similarUnverifiedSETNX is an atomic operation command provided by Redis, standing for SET if Not eXists, which sets the value of a specified key and returns success only when that key does not already exist.54% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1063659API
curl https://kongchang.com/api/v1/knowledge/claims/1063659MCP
get_claim(id=1063659)