Design a Corporate Shuttle for Employees

Medium45 min
1 / 30
System design answer

Design a Corporate Shuttle for Employees

Medium45 min30 sections
understanding•10 min read

Problem Statement: Scheduled Corporate Mobility at Scale

Frames the corporate shuttle as a scheduled, capacity-constrained, geospatial routing problem distinct from on-demand ride-hailing.

Problem Statement

Design a corporate shuttle system that provides scheduled or route-based shuttle buses for company employees, picking them up near home or at designated stops, tracking vehicles in real time, managing seat reservations, and adapting routes dynamically when demand clusters emerge.

This is not a ride-hailing problem. There is no surge pricing, no driver-rider matching in the Uber sense, and no payment processing. The employer owns the fleet or contracts a charter operator. The employees are a closed, authenticated population. The product promise is: get the right employee to the right campus gate at the right time, every weekday, with predictable latency and visible capacity.

Why this problem is distinctive

A ride-hailing system optimizes for ad-hoc, stochastic demand. A corporate shuttle optimizes for predictable, periodic, high-density commuter flows with a closed user set. The demand curve is bimodal: morning inbound (7:00-10:00) and evening outbound (16:00-20:00), with a long midday trough. Routes are semi-static, revised quarterly or when headcount shifts. The hard problems are:

  1. Route construction from employee home addresses under privacy constraints.
  2. Seat reservation and capacity enforcement on fixed-capacity vehicles.
  3. Real-time tracking and ETA accurate to ±2 minutes for a population that plans meetings around arrival.
  4. Dynamic adjustment when a new office opens, a team relocates, or a transit disruption redirects demand.
  5. Integration with corporate identity (SSO, directory services) for authentication and eligibility.

Public operating baseline

Google operates one of the largest private shuttle networks in the Bay Area, running 160+ routes serving 10,000+ employees daily across multiple campuses. Apple runs dedicated shuttles from BART and Caltrain stations to Apple Park. Meta operates shuttle networks connecting San Francisco, Menlo Park, and newer offices. These are cited as industry context; all scale numbers in this answer are explicitly stated design assumptions unless attributed.

Design assumptions for this answer

  • Fleet: 200 registered buses, 120 simultaneously active at morning peak.
  • Employees: 15,000 eligible riders across 3 campuses.
  • Daily trips: 22,000 boarding events (some employees take 2 trips: AM + PM).
  • Routes: 85 active routes, 40 stops per route average.
  • Peak multiplier: 3× for morning inbound vs. midday baseline.
  • GPS cadence: 1 position update every 5 seconds per active bus.
  • Reservation window: employees reserve up to 7 days ahead; walk-on allowed if seats remain.

The four architectural planes

  1. Route & Schedule Plane: route graph, stop registry, timetable engine, demand clustering.
  2. Operations Plane: fleet dispatch, driver assignment, vehicle health, depot management.
  3. Rider Experience Plane: reservation, check-in, live tracking, notifications, capacity display.
  4. Analytics & Adaptation Plane: ridership telemetry, route performance, demand forecasting, dynamic rerouting triggers.

A strong interview answer keeps these planes separate. The rider experience degrades gracefully (show stale ETA) while the operations plane never loses track of which bus is where and which seats are occupied.

Key Highlights

  • •Corporate shuttle is a scheduled, closed-population routing problem—not stochastic ride-hailing.
  • •Demand is bimodal: morning inbound and evening outbound with a midday trough.
  • •The four planes are Route & Schedule, Operations, Rider Experience, and Analytics & Adaptation.
  • •All uncited scale numbers are explicit design assumptions: 200 buses, 15,000 riders, 22,000 daily boardings.
  • •ETA accuracy of ±2 minutes is the product-defining SLO because employees schedule meetings around arrival.
Lead With the Distinction
State in the first minute that this is a scheduled, closed-population, capacity-constrained routing problem. It is not Uber with a company login. This immediately signals you understand the domain.
Do Not Understate ETA Importance
Employees plan meetings around shuttle arrival. A 5-minute ETA error cascades into missed standups and late arrivals. Treat ETA accuracy as a product SLO, not a nice-to-have.

Section Rescue Kit

Buzzwords to use:

Closed-Population RoutingBimodal Demand Curve

Safe statements:

  • "I will separate the scheduled routing problem from real-time tracking—they have different latency and consistency requirements."
  • "Before choosing databases, let me establish which decisions are pre-computed (routes, schedules) and which are real-time (tracking, seat availability)."
Design a Corporate Shuttle for Employees - System Design | WinJob | WinJob