A liveness system: from a Redis sorted set to a timing wheel and the LMAX Disruptor
Case study of 1 million IoT devices sending a heartbeat every 3 seconds: picking the timer data structure (Redis ZSET or timing wheel), handling a huge bucket with several threads, and why the queue between threads becomes the bottleneck that the Disruptor solves.