No video

All you need to know about FastCGI Process Manager (FPM)

  Рет қаралды 15,862

Daniel Persson

Daniel Persson

Күн бұрын

Пікірлер: 26
@iangrant4756
@iangrant4756 4 ай бұрын
As no one seems to have explained how to pronounce “Apache”… it’s pronounced hard-“a patch ee”. So, ah-patchy! The e at the end is stated because it’s not an Anglicized name, but is the original name of a Native American population. For the Apache project, the name was settled on well before any of the awareness about such things became prominent. It was originally “a patchy” service, which (quickly) gave rise to the name.
@Mediatomcat
@Mediatomcat Ай бұрын
Thanks. was driving me crazy. 😂
@SpencerTaylorOnline
@SpencerTaylorOnline 2 ай бұрын
This is an excellent video. Thank you for taking the time to explain the FPM configuration.
@DavidLopez-gs1fb
@DavidLopez-gs1fb Жыл бұрын
Thanks from Colombia, South America. Pretty useful.
@davidmenache
@davidmenache Жыл бұрын
This was helpful thank you. Look forward to seeing more content. Btw, I've never heard Apache pronounced like that. For whatever reason it got my attention. I'm pretty sure the name Apache comes from the phrase "A patchy" piece of software. ...or something like that anyway. It wouldnt surprise me at all if it's already been discussed at length somewhere below. Going forward, whenever I see that word Apache, I will now think. Dan Persson explaining fcgi and A-pash! :). Maybe you can do a followup to this on how to configure multiple vhosts with various phps and confs. Cheers!
@SpencerTaylorOnline
@SpencerTaylorOnline 2 ай бұрын
For non-native English speakers, Apache is not an intuitive word to pronounce. The name comes from the Native American Apache tribe and is unrelated to "a patchy." During the 19th century, when America was waging war on the Indian Nation, the Apache were known as fierce warriors. The Apache was also one of the first Native American tribes to master riding horses for hunting buffalo (horses were not native to North or South America ) and later fought the American soldiers and other people who tried to eliminate them. The idea behind the Apache server name was that it was fast like the Apache Indians were. I won't determine whether it was a good use of the tribe's identity, but that's a somewhat lengthy explanation for its etymology. Apache can easily be mistaken for a French name or word, so I think I understand why he pronounces it this way.
@marerkkbiker
@marerkkbiker Жыл бұрын
Great content, diving into topic without bs. Thanks! Subscribed
@cetx
@cetx 2 жыл бұрын
Great explanation of FPM.
@jelajahmania
@jelajahmania 10 ай бұрын
how to optimize php fpm for 10000 req per sec , with nginx,mysql,laravel
@DanielPersson
@DanielPersson 9 ай бұрын
Hi la212hd Not sure how you can optimize anything using Laravel. But my suggestion would be to benchmark it and then do iterative changes to improve the code. FPM and native module isn't that different. The improvements you get with FPM is a separate process where you can manage memory better and get an improved compute speed if you run multiple processes at the same time. But usually the problem is your implementation not using efficient code. I hope this helps. Best regards Daniel
@WhiteSiroi
@WhiteSiroi Жыл бұрын
thank you D, very helpful
@kenjohnsiosan9707
@kenjohnsiosan9707 Жыл бұрын
Where or what do I need to study to have a better understanding of the module and other Apache PHP-related stuff? Thank you, sir.
@DanielPersson
@DanielPersson Жыл бұрын
Hi Ken Thank you for watching my videos. Hard for me to know exactly what you are looking for from the question. A great resource to read to learn more of the PHP language is the documentation. The community spends a lot of time to work on it and it's pretty good. If you want a more structure course I could recommend this for a beginner. imp.i384100.net/m5OvK1 I hope this helps. Best regards Daniel
@It_guy613
@It_guy613 Жыл бұрын
i recommend the Michigan course as well but for the documentation i personally don't think that it is very friendly for beginners(being a beginner myself) since in most of the examples they use functions that you should at least have a better grasp of php basics and structure to better understand what it's about. i have been using php for a few months and i still find it very difficult to read the documentation, but that is just my point of view, if you feel like trying i'd totally encourage you, maybe that is just me.
@marthetra7593
@marthetra7593 Жыл бұрын
hello Thanks Can you help me to understand what the master php-fpm process is for. is it possible that a php-fpm process executes this command "bash sh -c id"?
@DanielPersson
@DanielPersson Жыл бұрын
Hi Marthe The easy explanation is that before you ran it with the Apache server as a plugin so the Apache services needed to be scaled appropriately and handle all the load of both complex processes. As PHP programming gets more complex with more processes, it's beneficial to break it out. So now, when Apache wants to show a PHP page, it will call FPM to render the page as a separate process. This means that FPM can be scaled after demand, and Apache can focus on routing traffic as indented. I hope this helps. Thank you for watching my video. Best regards Daniel
@josuaschmid501
@josuaschmid501 Жыл бұрын
I would have found interesting if the video would have at least scratched the surface of the difference between apache handler and FastCGI.
@yaroslavhoncharuk6031
@yaroslavhoncharuk6031 Жыл бұрын
thanks
@LinhNguyen-bp9hd
@LinhNguyen-bp9hd Жыл бұрын
so this is the reason why FPM is considered to be faster than mod_php and has become a standard way of deploying php app?
@DanielPersson
@DanielPersson Жыл бұрын
Hi Linh My understanding is that they have separated call concerns by creating a service that you can scale separately. And there is nothing that hinders you from setting up multiple FPM services in like a Kubernetes kluster to scale up and down the compute power behind you web server. The FPM service have been default in nginx longer than apache but I think this is a step in the right direction. Thank you for watching my videos. Best regards Daniel
@chandrajithchandrajith6446
@chandrajithchandrajith6446 8 ай бұрын
❤❤
@mehdi-vl5nn
@mehdi-vl5nn Жыл бұрын
so fpm is per fork ?how is that related to MPM Apache side
@DanielPersson
@DanielPersson Жыл бұрын
Hi Mehdi. FPM is a service apache calls. Never used MPM so I don't know how they stack up. Thank you for watching my videos. Best regards Daniel
@syafiqsafiyan5194
@syafiqsafiyan5194 8 ай бұрын
10years i pronouce “Apache” is Wrong 😅..
@electroplank587
@electroplank587 Жыл бұрын
sorry pal but you're pronouncing apache wrong and it's irritating
@vivekkadam748
@vivekkadam748 Жыл бұрын
Why I read this comment 😭
PHP улучшаем производительность: настройки PHP-FPM
20:16
Андрей Шестаков
Рет қаралды 16 М.
Why is My Webserver Hanging?!? (Spoiler: It was PHP-FPM)
9:31
Shawn Powers
Рет қаралды 7 М.
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 40 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 14 МЛН
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 292 М.
PHP doesn't suck (anymore)
10:48
Aaron Francis
Рет қаралды 205 М.
Learn Proper NGINX Configuration Context Logic
12:56
NGINX
Рет қаралды 46 М.
Optimizing nginx and PHP-FPM - from Beginner to Expert to Crazy | Arne Blankerts
1:06:10
International PHP Conference
Рет қаралды 24 М.
PHP-FPM vs Swoole execution model
15:36
Mateus Guimarães
Рет қаралды 6 М.
Docker - nginx, php-fpm, mysql, phpmyadmin. From scratch to finished website
50:07
DanilovCode - Уроки PHP, Yii2
Рет қаралды 24 М.
High Performance PHP
37:29
Chicago PHP User Group
Рет қаралды 18 М.
Что такое CGI?
5:07
IT Public 503
Рет қаралды 2,9 М.
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 40 МЛН