Grokking the System Design Interview, Volume II
0% completed
Step 4: High-Level Architecture
A judge does two kinds of work. Accepting a submission is quick and must never fail, while running the code is slow, expensive and dangerous. The design keeps the two in separate services with a queue between them. We follow one contestant, Priya, as she opens the problem "Two Sum", submits a solution, and waits for her verdict.
Path 1: Priya opens the problem
- The request enters through the API gateway. Every request passes through a load balancer or API gateway, like Nginx or AWS Elastic Load Balancing
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%