Design a purchase flow for limited-stock products where only one customer can buy the product.
Unlock detailed company stats for this questionUpgrade
HLD round question on purchasing limited-stock products. I clarified the requirements with the interviewer, then discussed an approach using Redis to hold the inventory of stock, a waiting/queuing service for customers to wait, and an idempotency key check to make sure only one customer buys the product.
Format · Technical interview.
Community answers
No answers contributed by the community yet.
Related questions
Design a proximity service where there are multiple stores in an area and a customer needs to search for the nearest one.As a PM at Microsoft, design a B2B customer support product for them.Design a product for managing parking (not limited to cars).Related courses

Course

Course
Course
