Desgin a system for selling some limited amount of products in a SALE in CRED.
Each Item has a ItemID generated before hand.
Payments can also fail when user is trying to buy the product .
Example: Suppose cred is selling Iphone at a discounted price(or pay with points) and we have only 1000 items available and ~100X people trying to buy them.
Functional Requirements:
Non Functional Requirements:
Questions: