Design a system that lets customers buy company shares during a one-week sale.
Wise wants to raise money by selling some of the company's stock to its own customers, similar to a crowdfunding event. Wise plans to raise GBP 100 million by selling 10,000,000 shares, each worth GBP 10 (fixed). Customers log in to the app or website and buy a selected number of shares using the money in their Wise account. Each customer's funds are stored in the Balance Service, the source of truth for transactions affecting customer accounts, used to deposit and withdraw money. Design a system that lets users buy shares with the money in their Wise accounts during a limited time (1 week). Expect a high number of concurrent users (e.g. 5 million), so the load from the event must not degrade other Wise services that rely on the Balance Service (e.g. withdrawing money to fund payments).


