DropBox Lite is building a simple file upload and sharing service. Users can:
- Upload files - drag and drop files up to 100MB. Get a shareable download link immediately.•Download - anyone with the link can download the file. No account required.•Expiration - files auto-expire after 7 days (configurable: 1 hour to 30 days).•Password protection - optionally require a password to download.•Upload limits - free users: 100 MB per file, 1 GB total. Paid users: 2 GB per file, 50 GB total.
Expected usage: 10,000 uploads per day, 50,000 downloads per day.
Design a file upload and sharing service that handles uploads up to 100 MB with download links. Build this architecture under realistic production constraints, then validate tradeoffs in the design lab simulation.
Request path: The solution keeps ingress, service logic, and stateful dependencies separated so each layer can scale independently.
Reference flow: Web Clients -> DNS -> CDN Edge -> API Gateway -> API Service -> Primary SQL DB -> Object Storage