> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How Uber Predicts Your ETA

> Explains Uber's DeepETA system that predicts segment travel times from live driver telemetry and historical data, aggregates them into trip ETAs and applies trip-level corrections at scale.

How does Uber know your driver is "8 minutes away"?

At a high level, Uber divides the road network into many small segments. For any trip, the routing engine finds the fastest path from the driver to the rider and sums the expected crossing time for each segment on that path. That sum becomes the trip-level ETA input.

The hard part is estimating how long a particular road segment will take at a specific time. The same segment can take 20 seconds at 2:00 a.m. and two minutes at 6:00 p.m. on a Friday. Uber’s solution relies on two things: a massive stream of live telemetry from its drivers and machine learning models that blend those live signals with historical patterns.

![An infographic-style city grid with small car icons sending dotted-line updates and yellow data points to a boxed "Uber servers" node. It illustrates Uber measuring traffic (noting updates happen every 4 seconds).](https://mintcdn.com/kodekloud-c4ac6d9a/2h0o-_DtLcLu6HM7/images/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/How-Uber-Predicts-Your-ETA/uber-traffic-grid-cars-updates-4s.jpg?fit=max\&auto=format\&n=2h0o-_DtLcLu6HM7\&q=85\&s=1bd9ed93e9679a42d5ae86a0f88438f0)

Uber drivers continuously report location and telemetry (typically every \~4 seconds). This high-frequency stream gives direct, recent measurements of how long drivers take to traverse individual road segments—crucial for real-time traffic estimation.

When a driver traverses a segment, Uber records the actual crossing time. Those measurements are immediate snapshots of current conditions, but snapshots alone aren’t enough: the system must forecast how segment travel times will change over the next few minutes to hours so routing and ETAs remain accurate.

To address this, Uber built DeepETA — a large-scale deep learning pipeline that predicts crossing times for every road segment for the next three hours and refreshes forecasts every few minutes. DeepETA blends live observations with historical patterns:

* If a usually-fast road is suddenly slowed by an accident, the model weights recent live data more heavily and adapts quickly.
* If a less-traveled road lacks recent measurements, the model infers likely speeds from nearby, better-observed segments and from historical trends at the same time-of-day and day-of-week.

![A stylized grid map shows two car routes: a brown "usual/fast" path and a red "live/slow" path with a crash icon. A dotted line connects the live route to a labeled "Uber Servers Deepett" box on the right.](https://mintcdn.com/kodekloud-c4ac6d9a/2h0o-_DtLcLu6HM7/images/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/How-Uber-Predicts-Your-ETA/two-routes-live-crash-uber-servers.jpg?fit=max\&auto=format\&n=2h0o-_DtLcLu6HM7\&q=85\&s=c2df0f9e8ef2b707bf7e602b2756c7cd)

DeepETA runs at massive scale: it serves on the order of millions of segment forecasts per second so routing and ETA calculations stay current. This high throughput makes it one of Uber’s busiest deployed models.

![A dark infographic titled "DeepETT" that proclaims "3,000,000 forecasts per second" for Uber servers. On the left is a faint grid map with a small car icon, and a badge noting DeepETT as the busiest model inside Uber.](https://mintcdn.com/kodekloud-c4ac6d9a/2h0o-_DtLcLu6HM7/images/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/How-Uber-Predicts-Your-ETA/deepett-uber-3m-forecasts-per-second.jpg?fit=max\&auto=format\&n=2h0o-_DtLcLu6HM7\&q=85\&s=37623b300d1a718ca95455488e9ef1e1)

There is a final correction layer after segment-level forecasts are summed. The routing engine aggregates segment forecasts to a trip-level ETA, and then another set of ML models—trained on millions of completed trips—learns systematic differences between summed segment forecasts and actual end-to-end travel times.

These trip-level models correct for factors that segment models miss, for example:

* Pickup delay and first/last-mile slowdowns
* Persistent biases on specific routes (e.g., signal timings not captured at segment granularity)
* Other end-to-end behaviors that don’t decompose cleanly into independent segment forecasts

The corrected ETA is what riders see in the app.

![A stylized street grid with an orange route, car and pedestrian icons, and travel-time annotations on each segment. The route feeds into a "Routing Engine" box (7:40) which connects to "ML Models" with an added +0:20.](https://mintcdn.com/kodekloud-c4ac6d9a/2h0o-_DtLcLu6HM7/images/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/How-Uber-Predicts-Your-ETA/orange-route-map-routing-engine-ml.jpg?fit=max\&auto=format\&n=2h0o-_DtLcLu6HM7\&q=85\&s=3599c3903c3f6ed69d0270fac68bf8ac)

Results and business impact

* When Uber deployed DeepETA, arrival-time accuracy for long trips improved by roughly 6%.
* Uber estimates that improved ETA accuracy adds on the order of \$100 million in annual value through better routing, lower cancellations, and improved rider/driver experience.

Quick reference summary

| Component | Role | Key properties |
| - | -: | - |
| Fleet telemetry | Live measurements of segment traversal | Reports from drivers \~every 4s; primary real-time signal |
| DeepETA (segment model) | Predicts segment travel times | Horizon: next 3 hours; refreshes every few minutes; blends live + historical |
| Routing engine | Sums segment forecasts into trip ETA | Uses fastest-path routing and aggregated segment times |
| Trip-level ML corrections | Adjusts summed ETA for end-to-end effects | Trained on millions of trips to correct systematic biases |
| Scale | Operational metric | Millions of forecasts per second (high throughput) |

Further reading and references

* Uber Engineering — DeepETA: [https://eng.uber.com/deepeta/](https://eng.uber.com/deepeta/)
* Traffic prediction and spatio-temporal ML survey: [https://arxiv.org/abs/1704.04875](https://arxiv.org/abs/1704.04875)

Key takeaway: Accurate real-time ETAs require both high-frequency live telemetry and robust machine learning that fuses recent observations with historical behavior. The combination at scale—segment forecasts + trip-level corrections—is why services like Uber can reliably tell you a driver is "8 minutes away."

> [card] [Watch Video](https://learn.kodekloud.com/user/courses/devops-interview-prep/module/ef53ec43-96e9-4d1b-8a6e-e6eb97b0d0dc/lesson/09777180-b6e1-42c5-a433-c0b36d7b91f1)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.