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 server
Location services
Search services
Places Details DB
Index Service
LRU Cache with TTL
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...
API Gateway / Reverse Proxy
Web servers
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:
Explain any trade offs you have made and why you made certain tech choices...
Try to discuss as many failure scenarios/bottlenecks as possible.
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?