Server-Side Scalability

Overarching Project


Now, we continue with the overarching project. In the previous step, you created a new walking skeleton for the project that had a Deno web server and a PostgreSQL database. The project has two database tables, one for languages, and one for exercises. The exercises are associated with a language, and the language table has a one-to-many relationship with the exercises table. In addition, there are two endpoints, one for getting all the languages, and one for getting all the exercises for a specific language.

Here, you will first add the functionality for submitting exercises to the project, and configure Redis for the project, adding submission identifiers to a Redis queue for further processing.

Loading Exercise...

After adding the exercise submission functionality, you will create a separate grading API service that will be responsible for grading the exercises. The grader API consumes the submission identifiers from the Redis queue and grades the submissions.

Loading Exercise...