Case study · Backend · real-time systems
Guardian Pickup
A kindergarten pickup system on the school’s own network: it brings a guardian’s arrival photo to the child’s classroom, and the teacher decides the handover.
A teacher needs the arrival photo in the right room even when the internet is down or a visit starts just before the morning group gives way to the afternoon group.
- per-pupil classroom alerts logged as sent in each measured month
- 2,000+
- family registry and pickup photos
- Local
- maintenance jobs for the school server
- Signed
Stack: .NET · ASP.NET · SignalR · PostgreSQL · Windows · PowerShell
From the gate to the right teacher
The guardian checks in at the entrance kiosk, selects the children when needed and takes an arrival photo. At the first lookup the server records whether the visit belongs to the morning or the afternoon group. At photo submission it checks the guardian’s permissions and the children’s programs again, so the switch to the afternoon group cannot redirect the visit just because the clock moved.
For each accepted pupil, the ASP.NET Core service saves an alert and sends it over SignalR to the assigned room. The teacher sees the arrival photo beside the available registered portraits and decides the handover. A background worker prepares name audio in advance so the alert can appear even if the clip is still missing.

What the school keeps on site
The family registry, permissions, history and photos live on the school’s Windows server. Registered families can use the kiosk during an internet interruption. Licensing sync carries aggregate counters and operational identifiers. For speech, the school sends the pupil’s name and a request ID to a vendor service that holds the provider credentials.
I pair each classroom PC to a physical room. Staff can replace a PC and keep the room assignment. A late disconnect from the old PC cannot mark the replacement offline.
What a second request is allowed to do
| When… | What happens at school |
|---|---|
| Two enrollments compete for the last credit | A PostgreSQL lock lets one transaction check and spend it. In the integration test, the waiting enrollment then declines without creating a guardian link. |
| The metered balance reaches zero | A family already registered can still collect a child. The charge applies when staff create a new guardian-to-pupil authorization. |
| The classroom reconnects | It reloads the day’s saved arrivals without replaying old popups or announcements. |
| Reference portraits have yet to arrive | Staff can enroll the family. The kiosk still requires a live arrival photo and the server checks the guardian link. |
Reaching a server behind the school filter
The school’s filter rejected a persistent support tunnel but allowed ordinary outbound HTTPS. I built a Windows agent that polls a relay for signed, time-limited jobs. A new maintenance action needs its own job type.
During an upgrade I pause writes and checkpoint PostgreSQL before switching the executable. That lets me restore the database the old version expects. I rehearsed interrupted rollback on school hardware and accepted a field upgrade after a separate version and readiness check.
What counts as a classroom alert
From September through November 2026, the school logged 2,000+ per-pupil alerts as sent in each month. One kiosk visit can generate several sends for siblings. The classroom client acknowledges display separately, and the teacher makes the physical handover. The Guardian Pickup case study links to the monthly counts.
I own the architecture, releases and field support. I work with school staff on enrollment and pickup, and I check the running service before I accept a release.