... using Redis as a locking server.
π http://stackify.com/how-to-prevent-duplicate-event-processing-at-scale/