Amazon SDM system design
Summary
I had a system design interview at Amazon focusing on designing a food delivery storefront similar to Swiggy, specifically the home page and restaurant listing.
Full Experience
I was interviewed at Amazon for a system design round. The interviewer asked me to design the Swiggy storefront. After some clarification, the core problem revolved around designing the home page, specifically how to list restaurants. I had to consider using a fanout mechanism with a map geohash grid to handle varying restaurant service radii (some serving small distances, others larger). Additionally, I needed to account for customization of the restaurant list based on user preferences and past behavior.
Interview Questions (1)
Design the Swiggy storefront. Upon clarification, the specific focus was on designing the home page with a list of restaurants. This involved using a fanout mechanism with a map geohash grid. I also had to account for scenarios where some restaurants serve a small radius while others serve a larger distance. Furthermore, the design needed to incorporate customization of the restaurant list based on user preferences and past behavior.