Reinventing Reliable Queues With Redis Lua Scripting
Salvatore Sanfilippo:
Redis 2.6 support for Lua scripting opens a lot of possibilities, basically because you can do atomically a lot of things that before required to pay a big performance hit.
In this blog post I want to show a pattern based on the scripting capability that can be used to implement reliable queues.
I know I might upset a few people, but this feels like reinventing some wheels. Having server-side scripting support in Redis makes it a possible good fit for many new use cases, so I don’t think there’s a need to reinvent solutions that can already address an even wider range of scenarios.
Original title and link: Reinventing Reliable Queues With Redis Lua Scripting (©myNoSQL)