title: Blocking lua script redis or not?
body: <p>I use simple lua script for redis 4 :</p>
  
  <pre><code>        local result = {}
          local vcounters = redis.call( "zrange", "vcounters::"..date, 0, -1, "withscores" )
          local i = 1
          while i &lt; #vcounters do
              local vid = vcounters[i]
              if result[vid] == nil  then result[vid] = 0 end
              result[vid] = result[vid] + 
              (redis.call("scard", "vcounters::"..date.."::session::"..vid) or 0)
              i = i + 2
          end
          return cjson.encode(result)
  </code></pre>
  
  <p>it is alternative zrange/scard command from client script and works 4-5 times faster. But will this script block the zadd commands or not ?</p>