Design a Proximity-Based Discovery System (Yelp)
Design a highly available and scalable system like Yelp that allows users to search for local businesses based on geographical location, category, and keyword. The system must support millions of businesses and high-frequency read traffic. Key requirements include efficient spatial indexing for low-latency search (<200ms), a mechanism for posting and aggregating reviews, and handling high-volume photo uploads. Address the trade-offs between search accuracy and system performance, and explain how you would handle varying business densities across different geographic regions.
PostgreSQLPostGISRedisKafkaS3CDNGeohashCassandraKubernetesElasticsearch
01