What happens before the Backend gets the Request @hnasr
What happens before the Backend gets the Request  @hnasr
Uploaded August 2023 | Updated November 2026, 1 day ago
When 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 performance.husseinnasser.com

0:00 Intro
3:50 What is a Request?
10:14 Step 1 - Accept
21:30 Step 2 - Read
29:30 Step 3 - Decrypt
34:00 Step 4 - Parse
40:36 Step 5 - Decode
43:14 Step 6 - Process


Medium article
medium.com/@hnasr/the-journey-of-a-request-to-the-backend-c3de704de223


Discovering Backend Bottlenecks: Unlocking Peak Performance
performance.husseinnasser.com

Fundamentals of Backend Engineering Design patterns udemy course (link redirects to udemy with coupon)
backend.husseinnasser.com

Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)
network.husseinnasser.com

Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)
database.husseinnasser.com

Follow me on Medium
medium.com/@hnasr/membership


Introduction to NGINX (link redirects to udemy with coupon)
nginx.husseinnasser.com

Python on the Backend (link redirects to udemy with coupon)
python.husseinnasser.com

Become a Member on YouTube
youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join

Buy me a coffee if you liked this
buymeacoffee.com/hnasr

Arabic Software Engineering Channel
youtube.com/channel/UChWZsjdoRvZ0T9QWZOD6UpA

🔥 Members Only Content
youtube.com/playlist?list=UUMO_ML5xP23TOWKUcc-oAE_Eg



🏭 Backend Engineering Videos in Order
backend.husseinnasser.com

💾 Database Engineering Videos
youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2

🎙️Listen to the Backend Engineering Podcast
husseinnasser.com/podcast

Gears and tools used on the Channel (affiliates)

🖼️ Slides and Thumbnail Design
Canva
partner.canva.com/c/2766475/647168/10068


Stay Awesome,
Hussein
What happens before the Backend gets the RequestA Postgres Page can fit 291 rows on a single column tablering 3 to ring 0WebTransport is a Game Changer ProtocolSomeone is always getting blockedHow a Machine Becomes a Router | ip_forward404 isnt an errorMySQL crashes on 10,000 tables   an interesting bug since fixedNew Course Alert - Scalable Real-Time Backends with WebSocketsHow Loom Leaked Session CookiesA process is a program in motionBloat in Databases
Hussein Nasser |

What happens before the Backend gets the Request

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER