Values arrive in order; writes must be fast and a read returns the 10 newest. Design the class, then take it distributed with a queue, idempotency and a database.
Values arrive in order; writes must be fast and a read returns the 10 newest. Design the class, then take it distributed with a queue, idempotency and a database.
Opens with the full question.