Redis Lua Tips

As you may know Redis allows you to pass a Lua script which will be executed on server side. What great about it is that it will be executed atomically, as Redis is single-threaded. Though beware of long-running scripts as they can hog the server. So what good can you do with Lua? Actually a »