title: Is Redis' set command an atomic operation?
body: <p>I'm trying to use Redis' <code>set</code> command to implement a simplest distributed lock component, but I can't find any exact basis about atomicity through the official document, is Redis' <code>SET key value [EX seconds] [PX milliseconds] [NX|XX]</code> command an atomic operation?</p>