Design the backend for a two-sided online marketplace where sellers list items and buyers purchase them. Assume tens of millions of listings, millions of MAUs, and peak traffic spikes (e.g., flash sales). The system must be secure, scalable, reliable, and support global deployment.
Provide the architecture, key trade-offs, and rationale for each section.
Login required