Designing a Clinic Queue Notification System with Timeouts

System Design · Karat · Medium

A clinic keeps patients waiting in a queue, and you are asked to design the system that alerts them when it is their turn. The patient currently at the front of the queue receives a notification. If that patient does not reply within 30 minutes, they are placed back into the queue; once a patient does reply, they are taken out of the queue. Walk through how you would build this notification flow end to end. Interview Notes Be prepared to discuss each of the following aspects…

Loading the rest of the question…