Prasanna
noteswallworkpathwritingwriteresume

writing

engineering notes, things I learned, and the debugging stories that didn't make the README

Sep 24, 2026·7 min read

Redis Atomic Operations: Understanding Atomicity, Concurrency, and Race Conditions

Redis being single-threaded doesn't mean your workflows are atomic. A practical walk through command atomicity, MULTI/EXEC, WATCH, and Lua scripting, and how to find where the atomic boundary actually needs to be.

redisconcurrencydistributed systemsbackend