MedFlow
Demo project · Smart Queue System
Patients see their visit time to a five-minute window. Doctors stay continuously utilized. Administrators spot bottlenecks in real time.
MedFlow runs an intelligent queue for multi-specialty hospitals: online booking, check-in by ticket number, real-time position updates over WebSocket, and ETA prediction from each doctor's consultation history.
Start the demo
Live demo · backed by Go + Postgres + WebSocket on AWS
Technical highlights
Real-time queue
WebSocket pushes position updates in under 500ms every time a doctor calls the next patient.
Accurate ETA
Moving average over each doctor's last 30 consultations — no guesswork.
Concurrent-safe
100 patients booking one slot at the same time → database-level unique constraint blocks duplicates (0 conflicts).
State machine
BOOKED → CHECKED_IN → CALLED → IN_CONSULT → COMPLETED. Atomic transitions, no races.