internalsGet Pro

System Design · Module 18

Location, maps and matching systems

Lessons
10
Free
0
Reading
~4 h

Your progress

0 / 10 lessons done

Sign in to track

Lessons

  1. Proximity search: finding nearby placesPickup locations, nearby restaurants and driver discovery all need spatial filtering. Understanding the filtering mechanism helps you build searches that stay correct at boundaries and remain affordable as traffic grows.18 min
  2. Geohash: encoding locations as short stringsGeohash lets you group locations using ordinary string keys. Understanding its boundaries prevents nearby searches from silently hiding valid results.19 min
  3. Spatial grids: geohash, S2 and H3 comparedLocation services use grids to reduce search work and group events. Choosing one requires understanding boundary behavior, not just comparing cell shapes.19 min
  4. Redis geospatial queries for low latencyNearby searches often sit on a user-facing request path. You need to bound their work without confusing fast location lookup with fresh availability or safe assignment.19 min
  5. Geofencing: checking if a point is inside a regionDelivery eligibility, service areas and arrival alerts all depend on region membership. Correct geometry alone is not enough: boundary rules, location uncertainty and changing region definitions affect what customers see.19 min
  6. Real-time location trackingDelivery maps and vehicle dashboards must handle uncertain measurements and unreliable connections. A useful tracking system shows what it knows, how old that knowledge is, and when it can no longer claim a position is current.19 min
  7. Deduplication: filtering already-seen itemsNearby search, feeds and recommendation lists often retrieve the same item through several paths. Correct filtering needs more than a set: you must decide what counts as the same item and what happens when requests race or retry.19 min
  8. Matching algorithms: pairing riders, drivers and itemsDispatch, delivery and marketplace systems allocate scarce supply to competing requests. A good allocation must account for shared choices, then survive concurrent workers, rejected offers and retries.20 min
  9. Design: a nearby restaurants serviceNearby search combines location, changing business rules and pagination. A fast distance query is not enough if customers see closed restaurants, missing choices or repeated results.30 min
  10. Design: ride matching like UberMatching systems turn changing recommendations into exclusive commitments. The same problem appears in courier dispatch, job allocation and inventory reservations.30 min

Practise with

Terms this module teaches 21

Open glossary

Assignment problem

An optimization problem that pairs members of two sets under exclusivity constraints, usually to minimize a total cost.