A mock system design interview where a Google software engineer designs a LeetCode-like platform. The discussion covers functional requirements (problem listing, code submission, live leaderboard), non-functional requirements (high availability, low latency, code isolation, scalability to millions of users), API design with RESTful endpoints, database schema using DynamoDB (NoSQL), containerized code execution runtimes per language, caching strategies for the live leaderboard, horizontal scaling with a message queue between API servers and runtime containers, and master-slave database replication for fault tolerance.

48m watch time

Sort: