NGINX Internal Architecture - Workers

preview_player
Показать описание
In this video I explain the NGINX internal process architecture, how NGINX spins up multiple processes per core, how each process is pinned to a CPU core for minimum context switching, how NGINX accepts connections , parses requests and talks to the backend.

Get my introduction to NGINX udemy course

Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)

Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)

Introduction to NGINX (link redirects to udemy with coupon)

Python on the Backend (link redirects to udemy with coupon)

Become a Member on YouTube

Buy me a coffee if you liked this

Arabic Software Engineering Channel

🔥 Members Only Content


🏭 Backend Engineering Videos in Order

💾 Database Engineering Videos

🎙️Listen to the Backend Engineering Podcast

Gears and tools used on the Channel (affiliates)

🖼️ Slides and Thumbnail Design
Canva


Stay Awesome,
Hussein
Рекомендации по теме
Комментарии
Автор

Get my introduction to NGINX udemy course

hnasr
Автор

First Comment on a Hussein Nasser vid :)

One thing to note is how fast Youtube is able to serve the video in my feed. I think I started watching this almost as soon as Hussein uploaded the video(it was saying zero views, but ofcourse that counter is eventually consistent and is cached at multiple layers). Youtube recommendations is truly a feat of engineering

shubhamdhal
Автор

Hussein, your contents are always awesome, with a lot of information.

I was wondering if you can tell us about your past experiences and how you get to the place you're now, and also what's your current stack? And more😁😁,
We will be lucky😅

tempaccount
Автор

It would be great to see an explanation like this, about Apache web server, in order to understand the main differences with Nginx (pros and cons). Amazing explanation, thank you!

franpereyra
Автор

I work on nginx modules a lot. You should also discuss the moduler way of adding new code in nginx. The code architecture of nginx is pretty neat.

nikhilsinghal
Автор

👏 thanks for this, clearly understood what's happening behind the scenes

krishnamohanyerrabilli
Автор

Thank you for the clear and concise explanation 😊

blevenzon
Автор

Very interesting, good job, shater/شاطر!

habibicoding
Автор

I would love to watch more stuff like these, it could be a series like e.g. IIS, Apache architecture etc

TylerRake
Автор

Is there a way to calculate how many connections a worker can handle simultaneously?

thescubabuba
Автор

Could you please have a small session about Public Suffix List ?

KuldeepYadav-jnld
Автор

Hey @Hussien,

When a NGINX server is set up in docker. What happens to the worker process and core mapping? I assume it will not map to the host machines cpu cores. What happens in this case?

rehaanmazid
Автор

This is great. Can you also talk about CGI (Common Gateway Interface) and why we need it?

AjithkumarSekar
Автор

nginx is one of those things I've barely admin'ed at jobs but never put time in to master.

SB-qmwg
Автор

Hey .. long time my friend. been awhile I visited here.

TylerJusCodes
Автор

How does file descriptors come into picture for handling more connections?

manojBadam
Автор

A good strategy, especially to bare metal embedded servers is to use SMP IRQ affinity and map the netif IRQ to a single core. Then only use the rest cores to handle requests. This will improve the performance a lot.

dimtass
Автор

How to build a http3 client, I am struggling to get my head around why some http libraries are still http1 and why they've not been updated? (this could be interesting content)!

seanknowles
Автор

This topic should be in the Indian Engineering courses as a separate subject.

raghavgupta
Автор

planning a course on envoy as well? (have seen your TL-DR about the proxy)

abelsimon