Design Pincode Serviceability and Delivery Date Promise

Last updated: November 29, 2026

Quick Overview

Design the service that, for any product page and customer pincode, answers whether the item can be delivered and the promised delivery date, considering warehouse stock, logistics network capacity and cutoff times.

Flipkart
System Design
Software Engineer
Flipkart
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the service that, for any product page and customer pincode, answers whether the item can be delivered and the promised delivery date, considering warehouse stock, logistics network capacity and cutoff times.

Every Flipkart product page and search result shows 'Delivery by' for the user's pincode, so this service sits on the hottest read path. India has around 19,000 pincodes with very different logistics coverage. The interviewer checks precomputation versus real time computation and how promises stay accurate under capacity limits.

What the Interviewer Expects
  • Model the network: warehouses, hubs, lanes, last mile coverage and cutoffs
  • Precompute lane level transit times and serve lookups from cache
  • Combine live stock location with precomputed routes at request time
  • Account for capacity limits and holidays
  • Keep read latency low for listing pages that query many items
  • Track promise accuracy and feed it back
Key Topics to Cover
geo services
precomputation
caching
logistics network
promise accuracy
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you handle a hub that suddenly hits capacity during a sale?
  • How would you support quick commerce promises in minutes, not days?
  • How would you batch requests for a search results page with 40 products?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: promise(listing_id, pincode) returns serviceable yes/no, earliest delivery date, COD availability. Batch version for search pages.

Non functional: p99 under 30 ms, very high QPS...

High-Level Design

Offline: a network planner job computes, for each (origin warehouse, destination pincode), transit days and a dispatch cutoff, from lane schedules and historical performance. Stored in a key val...


Submit Your Answer
Markdown supported