

Lesson 05 · 11 min
Queues and async processing
Not everything has to happen while the user waits for a response.
11 minLesson 5 of 10Practice includedAsk AI on any point
A user uploaded a video. Transcoding it into five qualities takes minutes. You cannot keep the HTTP request open all that time. The server puts a job in a queue and immediately answers "accepted", while separate workers take jobs from the queue and process them at their own pace.
Sign in to continue
The rest of this lesson opens after sign up
The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.