TechLife: Idea Port Riga blog about mobile, web and integration solutions for enterprises

Using Redis Lua scripting for complex queues

Jul 16, 2015 9:03:52 AM / by Jevgenijs Rogovs posted in Redis

0 Comments

Redis is described by its author Salvatore Sanfilippo as a “strange project”. It’s a distributed cache, it’s an in-memory key-value store, and it’s a notification (publish/subscribe) server. A kind of all-in-one, which is actually good at everything it does. Although Redis keys and values are essentially just strings, one can group them into lists, sets, hashes and all-powerful sorted sets. It also stores numbers very efficiently, which makes such values consume less memory and enables fast numerical operations on them (like atomic increments).

Read More