Back

Developer Platform

Uber Studio

Studio let any Uber engineer run a trip from a desk: spawn a rider and a driver, walk the trip through its real states, and break any service on purpose. I led its design.

Role
Practice Lead, Engineering; design lead for Studio
Years
2016–2018
Team
Uber's infrastructure design team
Deliverables
Product Design, Design Systems, Research, Prototypes
One trip in Simulate, mid-drive: the driver’s card says Pick up Rider, and the car is on its way to the pickup.

A trip needs a rider, a driver, a route, a way to pay, and a dispatch system willing to connect them. Without a simulator, testing one meant phones on desks, personal accounts, and real cars driving real blocks to reproduce a bug. Or it meant not testing at all.

By fall 2017 Studio had grown the way internal tools do: two tabs, a trip simulator and an API explorer, and a simulator that opened on an empty panel and one button. I redesigned it that fall with one other designer on the infrastructure design team.

The earlier Studio, whole: a black bar with Uber Studio, Trip Simulator, and API Explorer; an empty white panel holding only a Rider dropdown and an Add Rider button; and a pale gray street map of San Francisco filling the rest of the window
Before: an empty panel, one dropdown, and an Add Rider button.
The redesigned Simulate screen, whole and at the same scale: a dark bar with five tools; a column that opens on Add a New Account, then five account cards floating over a color map of San Francisco with no trip on it: three riders at Need Fare Estimate with green Fare Estimate buttons and two drivers Off Duty with blue Go Online buttons; and across the bottom the drawer, shut to its row of Ramen, Jaeger, and Comms tabs
After, at the same scale: five accounts in one column, each with its state and next step, and the map whole.

A simulation has three things that all want the screen: the accounts in it, the map they move across, and the stream of messages and traces the system produces as they move. The first question was where each one lives.

We drew two answers. One put the accounts in a column and the stream in a drawer under the map. The other gave the accounts and the stream a column each, beside the map.

A gray wireframe of the simulator: a column of three account cards on the left, a map of San Francisco with three pins, and a wide empty drawer under both with Ramen, Deputy, and Comms tabs
Accounts in a column, the stream under the map.
A gray wireframe of the simulator: a map of San Francisco with three pins on the left, a column of four account cards in the middle, and a column for the stream on the right with Ramen, Deputy, and Comms tabs
Accounts and the stream, a column each beside the map.

In higher fidelity we pushed the columns. They gave every account room for its whole state and every message room for its contents, and they took a third of the map all the time. Alongside, we drew markers: a dozen ways to mark a rider, a pickup, and a drop-off, so three trips on one map could still be told apart.

The column direction: on a dark column, a card for Rider 2, dispatching, with a Cancel Request button and its raw status, rider location, pickup, drop-off, and fare info, and below it a blue card for Rider 1, looking, with buttons for current location, pickup, and drop-off; beside them a white column for Rider 1's messages, a list of Push_schedule entries at 3:20:12 PM and the selected message's contents as a JSON tree
The column direction: accounts with their raw state, and a message open beside them.
Marker studies on a map of San Francisco: location dots with accuracy rings, black circle and square pins, blue, green, and red teardrop pins numbered 1 in solid, outlined, and faded versions, small round pins, a red Pickup flag numbered 1, and two Rider 1 labels with a rider avatar
Marker studies for riders, pickups, and drop-offs.

The map won the space. The accounts sit in one column of cards over it, and the stream sits in a drawer under it that opens when you need it. Pickup became a black circle, drop-off a black square, and one line joins them. Across the top, five tools share one shell: Simulate, Replay, Explore, Stub, and Route.

Spawn a rider, spawn a driver, set pickup and drop-off, ask for a fare, and walk the trip through its real states: request, dispatch, the driver’s offer, en route, on trip, and drop-off. The states aren’t mocked. They run through the production state machine, so what an engineer sees is what the system actually does.

A scenario might hold five accounts in different states, and the engineer has to read it at a glance: who is waiting, who is dispatching, what just failed. Every card says its state in words and offers one button for the next step. The map carries the geography. Nothing hides behind a modal.

  1. 1RequestRider
    cf-41b3-9921-25e969ca8932@uber.com
    Need Fare EstimateFare Estimate
    Trip ID
  2. 2DispatchRider
    cf-41b3-9921-25e969ca8932@uber.com
    DispatchingCancel Request
    Trip ID
  3. 3OfferDriver
    55-42c2-b1b9-fb74bfb06ea4@uber.com
    DispatchedAccept Trip 10
    Trip ID
  4. 4En routeDriver
    55-42c2-b1b9-fb74bfb06ea4@uber.com
    Pick up RiderConfirm Arrival
    Trip ID
  5. 5On tripDriver
    55-42c2-b1b9-fb74bfb06ea4@uber.com
    On TripEnd Trip
    Trip ID
  6. 6Drop-offRider
    cf-41b3-9921-25e969ca8932@uber.com
    Trip Complete
    Trip ID
Every state of one trip, side by side. Each card says where its account is and offers the one next step.

Under the map, the drawer lists an account’s requests. Pick one and its trace opens beside it: every service it touched, and how long each one took. As a column, all of this would cost a third of the map all the time. As a drawer it costs nothing until you open it.

A strip of Studio's map of San Francisco with a trip on it, and the drawer under it. The drawer starts shut, a single row of tabs, so the map is whole. It rises over the lower map: on the left, the rider's requests with drivers_sms_session_config picked; on the right, the Ramen tab lists six Push_schedule messages at 3:20:12 PM and opens one into its contents, messageType OK and a realtimeData tree with the driver's status offDuty. Then the Jaeger tab draws the trace of the picked request, rtapi to passport and fireball, then onix to gopro, atmmachine, beagle, and mezzanine-frontless, and opens its last call: CardOfferService::runEnrollments, service rtapi, duration 7ms, start time 236.3ms. It rests there, open on the trace.
The drawer rises over the map. Ramen opens one of the trip’s messages; Jaeger traces the picked request and opens its last call. Shut, it is a single row of tabs.

Stub replaces any service’s response with one you write, so you can watch what the product does when a dependency fails. Saved stubs wait in a list under the service they stand in for.

Pick a saved stub and its request fills in: the Thrift doc, the method, and the response it returns. Activate it, and IPO::updateStep returns this error until someone turns it off.

Explore is the API explorer: browse any internal service, read its Thrift docs in place, compose a request with real headers, and see the response, including the failure. Before that, interrogating a service meant finding its owner, its docs, and its quirks across three internal wikis.

Explore, with rtapi picked: the service, its Thrift doc, the method, a row for headers, and the response it returned.

Route sends real production messages to a development environment. All five tools share one shell, and the tab bar says which one you are in.

I led design in Uber’s engineering platform group, where the users were the company’s own people. Studio began with a pattern. Engineers on different teams kept building their own versions of the same tool. Each was close to the last, rougher than it should have been, and owned by a team with no time to maintain it. The first version of Studio gathered those tools into one web app, and we redesigned each one as it came in.

By fall 2017 it had 3,790 users in 21 countries, and an average session ran 11 minutes 40 seconds. Its users were engineers, and also people in operations, product, and design.

Studio also reached past the browser. Extensions in the iOS and Android apps for Rider, Driver, Eats, and Freight changed the app’s environment on the device itself, so you could see the product as it would behave in Bangalore or in Dublin.

Designing for engineers sharpened a conviction that has run through my work since: people working inside a live system want dense tools that show the real state and never lie. That is designing for operators, and it is why busy software still has to breathe.

Studio’s job was to show the system exactly as it was and make that exact state fast to reach. The redesign shipped, and the vast majority of Uber’s engineering organization adopted it. Studio became the core of Uber’s developer tools: where engineers went to test a trip. The scope we cut and the internal reviews are under NDA.

Shipped
The redesign, which became the core of Uber’s developer tools
Platform
Web, with extensions in the Rider, Driver, Eats, and Freight apps
Reach
3,790 users in 21 countries by fall 2017; most of Uber’s engineers after the redesign