Implement MULTI operations as LUA scripts.
In order to create atomic operations we are using the MULTI command. The problem is that this command requires a roundtrip to the redis server for every command as well as for the MULTI and EXEC commands. This increases the latency by a factor of at least 4x and 1x for every extra command. By using a precached LUA script we can perform the same atomic operation much faster.