Lua scripting with Redis

“The last post covered how we’re processing real-time events with ClojureAWS Lambda, and Redis.  Since that post, I decided to structure the keys differently, making it easier to query and organize the data.  Originally the keys were in the format of YYYY-MM-DD:<event>_<listing_id>, which represented a given event for a listing id on a specific date. After some additional thought and consideration, it was determined that moving the events into a hash for a given listing would be more flexible. So we went from keys with this structure:…”