System Design · Google · Hard
A company routes every incoming order to one of two external search vendors: Vendor A and Vendor B. Historical order-level records are available. Each record contains: historical_cancellation_rate, defect_rate, on_time_rate, unit_price, lead_time_days, min_order_qty, capacity, distance_km, late_penalty_per_order, stockout_cost_per_day, and a binary field indicating whether the order met its SLA. Design a routing policy that selects either Vendor A or Vendor B for each new…
Checking your access…