Real-Time Systems2021 to 2022

No Waiting

A bilingual campus app with live queue length and occupancy for restaurants, cafeterias and gyms, wait estimates, and routes to the quietest venue.

Watch the explainer: No Waiting, 67 seconds

Watch the 67-second narrated explainer. English captions on.Read the transcript

TL;DR

User thresholds live in FCM topic names, so a scheduled function running every two minutes fans alerts out in a single publish.

Role
Mobile & Cloud Functions Engineer
Timeline
2021 to 2022 · About 12 months
Stack
  • Flutter
  • Firebase RTDB
  • Cloud Functions
  • FCM
  • Google Maps

01

Transcript

Read the 67-second explainer as text

Is the cafeteria packed right now? On campus, you usually find out only once you get there. No Waiting is a bilingual campus app for university restaurants, cafeterias and gyms.

Each venue streams its queue length and occupancy live. The app estimates the wait from throughput, and maps a walking route to the quietest venue. Reminders are the clever part. Each user's threshold is encoded into a Firebase Cloud Messaging topic name, so everyone with the same threshold shares one topic.

Every 2 minutes, a scheduled Cloud Function checks occupancy. When a threshold is met, one publish to that topic fans out to every matching subscriber, instead of one send per user. Built in Flutter on Firebase Realtime Database, Cloud Functions, FCM and Google Maps. About 12 months, as mobile and Cloud Functions engineer.

Check the line. Skip the wait.

Work with me

Have a system like this that needs to reach production?

Book an intro call to talk it through, or email me a few lines about what you are building.