VFlash: Fast, Accurate Visual Planning via Flash Primitive Decoding
u_Unrolled
D22: AI System Design Bank · Case Study: ETA Prediction and Routing — Live Traffic, Graph-Plus-ML Correction and Honest Promises at Staff Level

Case Study: ETA Prediction and Routing — Live Traffic, Graph-Plus-ML Correction and Honest Promises at Staff Level

25 min read·Staff+ Tier· Unrolled Pro
Case Study: ETA Prediction and Routing — Live Traffic, Graph-Plus-ML Correction and Honest Promises at Staff Level

You already know: graphs and shortest paths (D2), regression and quantile losses (D3), streaming aggregation (D16) and the surge case's lesson that the marketplace depends on fast, trustworthy signals. This case adds ETA prediction at marketplace scale: an ETA is used both by dispatch (to pick the best driver, hundreds of thousands of times a second) and by riders (as a promise they plan around). The design questions: which ETA, how to keep road speeds fresh, how to combine a routing engine with ML, how to serve ETAs at dispatch scale and how to make the promise honest.

How to read this lesson. No code, on purpose. Numbers marked assumed are assumptions you state out loud.


1. The prompt, and the questions that change the design

A mid-level answer: "train a model on past trips to predict duration". A staff candidate first asks which ETA (driver to pickup, pickup to destination, or the whole delivery including food preparation), who consumes it (dispatch ranking or a rider-facing promise), what accuracy means (is late worse than early?) and at what scale. Those answers produce a decomposed ETA, a routing engine with an ML correction, separate fast and accurate tiers, and a quantile promise.

Assumptions you state:

That's the preview. The full lesson, with its code and exercises, is part of Unrolled Pro.
Staff AI & Pro Tier Lesson

Unlock "Case Study: ETA Prediction and Routing — Live Traffic, Graph-Plus-ML Correction and Honest Promises at Staff Level"

The foundations are free forever. Unrolled Pro unlocks the complete lesson, production architectures, and 55 battle-tested ML system design case studies.

Everything included with Pro:
All 234+ Deep-Dive Lessons across transformer internals, inference, RAG & agents
55 Staff-Level ML & System Design Case Studies with mathematical capacity estimates
AI Engineer Sheet & Exercises with worked solutions, self-checks, and code
100 Landmark Research Papers guided walkthroughs & progress tracking
14-Day Money-Back Guarantee — 100% full refund if you aren't satisfied
View Plans & Unlock All Lessons

From ₹167/mo (~$2/mo) · Cancel anytime · Instant activation

100% Risk-Free: 14-day no-questions-asked money-back guarantee