QPS
Capacity
Places Details DB [location_UUID, Geohash, lon, lat, name, type, rating, descriptions].
Index should be built on Geohash
API Gateway / Reverse Proxy
Web servers
Location services
Search services
Places Details DB
Index Service
Index Building Service
Explain how the request flows from end to end in your high level design. Also you could draw a sequence diagram using the diagramming tool to enhance your explanation...
Location Services. (do you want to dive into both? Or focus on one of these)
Geohash
Project the earth into 2D grid, and then split evenly in both vertical and horizontal following the meridian and equator. Recursively we split each sub-grid and also encode as Geohash. 12-levels of geohashes.
Steps:
Partition
Replication
How write is updated in DB and cache.
Cache.
Data Consistency
Explain any trade offs you have made and why you made certain tech choices...
Monitoring System
Alert