The Backend Engineering Show with Hussein Nasser
The Backend Engineering Show with Hussein Nasser
Hussein Nasser
The Journey of a Request to the Backend
52 minutes Posted Aug 1, 2023 at 2:27 am.
Intro
What is a Request?
Step 1 Accept
Step 2 Read
Step 3 Decrypt
Step 4 Parse
Step 5 Decode
Step 6 Process
0:00
52:58
Download MP3
Show notes
From the frontend through the kernel to the backend processWhen we send a request to a backend most of us focus on the processing aspect of the request which is really just the last step.
There is so much more happening before a request is ready to be processed, most of this step happens in the Kernel. I break this into 6 steps, each step can theoretically be executed by a dedicated thread or process. Pretty much all backends, web servers, proxies, frameworks and even databases have to do all these steps and they all do choose to do it differently.
Grab my backend performance course https://performance.husseinnasser.com
Medium article
https://medium.com/@hnasr/the-journey-of-a-request-to-the-backend-c3de704de223