Queue Cure '26 — Real-Time Clinic Queue Management
Reduced patient wait anxiety to zero — live token display syncs across all screens in under 50ms
<50ms
Sync latency
13
Tokens tracked live
0
Refreshes needed
Overview
76% of India's 1.5 million clinics still run on paper token slips and shouting. Patients wait 2–3 hours with zero visibility into when they'll be called. Receptionists manage everything from memory — adding patients, tracking who's next, estimating wait times. There is no dashboard for doctors, no data on actual wait times, and no way for patients to know their position without physically being present and alert at all times. The result: anxiety, crowding, missed calls, and zero data to improve the system. Process I started by mapping two user journeys, the receptionist and the waiting patient and identifying the single most painful moment for each. For the receptionist it's managing state in their head. For the patient it's not knowing when they'll be called. I chose Socket.IO over HTTP polling because real-time push eliminates the 2-5 second lag and wasted requests of polling. I deliberately put all queue state on the server only clients emit intents, the server decides the outcome and broadcasts to everyone simultaneously. This eliminates any possibility of the receptionist screen and patient screen showing different data. I added MongoDB not just for persistence but for analytics storing actual wait times per patient lets the clinic measure and improve. I handled the fallback gracefully Results Live sync working across all screens in under 50ms with zero page refresh. MongoDB Atlas storing complete patient history — token issued time, called time, actual wait duration, skip status. Analytics dashboard showing daily completion rate, average actual wait, and per-patient history. Graceful fallback to memory-only mode when DB is unavailable. All 7 edge cases handled with server-side guards and error callbacks. The system correctly handles multiple receptionists operating simultaneously with no state drift. Reflection I would add a QR code on each token slip so patients can scan it and auto-track their position on their phone without manually entering a token number. I'd also add SMS/WhatsApp notification when a patient is 2 tokens away — so they don't need to stare at the screen. With more time I'd build a doctor dashboard showing who's next before calling, and hour-by-hour analytics to identify peak clinic hours for better staffing.