Mike Perham: Grouping Events for Later Processing:
But we see enough traffic that we don’t want to turn every single click into a background job. We want to aggregate the clicks and process them regularly. There’s several ways to do this; I’m going to show you how to implement it using a cron job running every minute.
Redis and some creativity scales really well. In other words: you may not need microservices, part 34.