title: pipelining vs transaction in redis
body: <p>When we use a transaction in Redis, it basically pipelines all the commands within the transaction. And when EXEC is fired, then all the commands are executed together, thus always maintaining the atomicity of multiple commands.</p>
  
  <p>Isn't this same as pipelining?  </p>
  
  <p>How are pipelining and transaction different?
  Also, why does not the single threaded nature of Redis suffice? Why do we explicitly need pipelining/transaction?</p>