AlgoViz

Design an in-memory message queue

hard 80 min

Build publish and subscribe in one process: a numbered log, a position for each subscription, leases with receipts, redelivery and dead letters, a rule for a full topic, and order by key.