Flagship projectLive · backend complete, frontend routes nearly done
DaiGo
Commute sharing with relay matching, built for students and office-goers
A rider posts where they're going and DaiGo pushes the request to people already driving that way, chaining two drivers into a relay when nobody covers the full trip. Built to stay correct under concurrency: first-accept-wins inside database transactions, idempotency keys for retries, and price caps checked on the rounded value. Live at daigo.dipsharma.me with the backend complete and the frontend routes nearly done.
- Push-based matching. Requests go to people already travelling the route, with a detour limit and a suggested meeting point from raw PostGIS queries
- Relay matching. No single driver covers the trip? Two drivers are chained through a walkable transfer point, and the trip only commits when both accept, in one transaction
- First-accept-wins. A 75-second accept window enforced on the server, with concurrent accepts serialized inside database transactions so two drivers can never both win
- Idempotent writes. A wrapper on risky POST routes replays the first successful response on a retry, so a flaky network can't double-charge or double-complete a trip



