NGINX Internal Architecture - Workers

  Рет қаралды 47,956

Hussein Nasser

Hussein Nasser

Күн бұрын

Пікірлер: 32
@hnasr
@hnasr 2 жыл бұрын
Get my introduction to NGINX udemy course nginx.husseinnasser.com
@RajnishAhuja
@RajnishAhuja 2 жыл бұрын
Hussein, Do you have a course on istio and certificate management ( By you or somebody you respect ) ?
@shubhamdhal689
@shubhamdhal689 2 жыл бұрын
First Comment on a Hussein Nasser vid :) One thing to note is how fast KZbin 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). KZbin recommendations is truly a feat of engineering
@nikhilsinghal1315
@nikhilsinghal1315 2 жыл бұрын
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.
@rio512hsu
@rio512hsu 2 жыл бұрын
Any good reading material recommended?
@franpereyra5459
@franpereyra5459 2 жыл бұрын
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!
@hnasr
@hnasr 2 жыл бұрын
Great idea
@tempaccount8256
@tempaccount8256 2 жыл бұрын
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😅
@thescubabuba6470
@thescubabuba6470 2 жыл бұрын
Is there a way to calculate how many connections a worker can handle simultaneously?
@hnasr
@hnasr 2 жыл бұрын
I think this is a very good question and needs low level kernel level and logging to see how much latency is added with 1 , 2 and 3 and then 4 threads. And then seeing how many requests can be processed with each configuration
@achrefnabil2463
@achrefnabil2463 Жыл бұрын
I think if you wanna calculate the maximum number of connections per worker process you should divide the system file descriptor limit by the number of worker processes. For example, if the file descriptor limit is 1024 and there are 4 worker processes each worker process can handle up to 256 connections simultaneously
@krishnamohanyerrabilli4040
@krishnamohanyerrabilli4040 2 жыл бұрын
👏 thanks for this, clearly understood what's happening behind the scenes
@shreemaan-abhishek
@shreemaan-abhishek 2 жыл бұрын
Oh hey!
@nickkman90
@nickkman90 Жыл бұрын
Fabulous lecture! Thanks Hussein.
@KuldeepYadav-jn3ld
@KuldeepYadav-jn3ld 2 жыл бұрын
Could you please have a small session about Public Suffix List ?
@blevenzon
@blevenzon 2 жыл бұрын
Thank you for the clear and concise explanation 😊
@habibicoding
@habibicoding 2 жыл бұрын
Very interesting, good job, shater/شاطر!
@AjithkumarSekar
@AjithkumarSekar 2 жыл бұрын
This is great. Can you also talk about CGI (Common Gateway Interface) and why we need it?
@faizsyed658
@faizsyed658 Жыл бұрын
Do you want internal architecture of CGI? If you just wanna better understand about cgi, there are many good videos from other channels already
@SB-qm5wg
@SB-qm5wg 2 жыл бұрын
nginx is one of those things I've barely admin'ed at jobs but never put time in to master.
@seanknowles9985
@seanknowles9985 Жыл бұрын
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)!
@manojBadam
@manojBadam 2 жыл бұрын
How does file descriptors come into picture for handling more connections?
@rehaanmazid2435
@rehaanmazid2435 Жыл бұрын
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?
@dimtass
@dimtass 2 жыл бұрын
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.
@Rake141
@Rake141 2 жыл бұрын
I would love to watch more stuff like these, it could be a series like e.g. IIS, Apache architecture etc
@abelsimon5308
@abelsimon5308 2 жыл бұрын
planning a course on envoy as well? (have seen your TL-DR about the proxy)
@hnasr
@hnasr 2 жыл бұрын
made a video on envoy but im not satisfied with it. need to redo it.
@abelsimon5308
@abelsimon5308 2 жыл бұрын
​@@hnasr maybe a udemy course if you fancy would be even better I've thoroughly enjoyed the nginx one. It does also help with the bigger picture when having multiple layers of proxies. E.g a project I'm working on right now, we're having an HA proxy and two envoys for egress. (one sidecar with custom listeners set up for port forwarding, and one egress in a DMZ to fulfil these forwards)
@TylerJusCodes
@TylerJusCodes 2 жыл бұрын
Hey .. long time my friend. been awhile I visited here.
@raghavgupta1799
@raghavgupta1799 Жыл бұрын
This topic should be in the Indian Engineering courses as a separate subject.
@mohammedabulsoud1819
@mohammedabulsoud1819 2 жыл бұрын
so goood
django Architecture - Connection Management
15:10
Hussein Nasser
Рет қаралды 53 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Postgres Internal Architecture Explained
33:16
Hussein Nasser
Рет қаралды 161 М.
Nginx vs Apache Performance
14:57
Anton Putra
Рет қаралды 41 М.
NGINX Explained - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 305 М.
Proxy vs Reverse Proxy Server Explained
14:18
Hussein Nasser
Рет қаралды 135 М.
Frontend and Backends Timeouts
24:40
Hussein Nasser
Рет қаралды 13 М.
Set Up a Basic Website! nginx, Certbot & secure login
18:38
Luke Smith
Рет қаралды 134 М.
Where http2 hits its limit
13:13
Hussein Nasser
Рет қаралды 9 М.
Nginx Mastery | Nginx Connection Processing Architecture
15:10
Very Academy
Рет қаралды 14 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 318 М.
What is a Server? (Deepdive)
17:51
LiveOverflow
Рет қаралды 193 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.