title: Redis in Python: difference of with and without multi() function
body: <p>In <code>redis</code>, it says:</p>
  
  <blockquote>
    <p>A Redis transaction is entered using the MULTI command.</p>
  </blockquote>
  
  <p>For its <code>Python</code> API:</p>
  
  <pre><code>r = redis.Redis(...)
  pipe = r.pipeline()
  current_value = pipe.get('someKey')
  #pipe.multi()
  pipe.set('someKey', current_value + 1)
  pipe.execute()
  </code></pre>
  
  <p>What is the difference between with and without <code>pipe.multi()</code> ?</p>
  
  <p>To guarantee its atomic, what's the correct solution?</p>