System Design · Walmart Labs · Medium
Requirements Design a service that satisfies the following needs: Functional: accept sensor readings containing sensor_id, lat, lon, temperature, and timestamp; support getLatest(sensor_id) → reading; support topK(K) → list of (sensor_id, temperature); and display a state-wide heat map at a selectable spatial resolution. Non-functional: handle a sustained ingestion rate ranging from thousands to tens of thousands of readings per second; return queries in under a second; and…
Checking your access…