Grokking the System Design Interview, Volume II
Vote

0% completed

Code Judging System: Detailed Component Design

Step 6: Detailed Component Design

With the data storage designed, we now look at each part of the system in detail. We start with the queue that connects the API to the execution workers.

a. Submission Queue (Message Queue)

A queue sits between the Submission Service and the code execution workers. It is what decouples the two, so the web server never waits on execution. When a user submits code, the request becomes a job message on a queue, for example RabbitMQ, Kafka, or AWS SQS

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content