Optimizing PHP-FPM for Production

Sebastian Heuer , Arne Blankerts (06.Oct.2018 at 16:15, 50 min)
Talk at ScotlandPHP 2018 (English - UK)

Rating: 4 of 5

PHP-FPM, the FastCGI process manager, evolved from being a 3rd party patch to the de-facto standard for running web applications with PHP. By default though, the configuration shipping with most distributions is designed for minimal resource usage. And while production servers can run with these settings even under relatively high load without problems for a while, getting the most out of FPM will require some tuning. Preparing the PHP stack for high load situations and monitoring the performance, optimizing the runtime for specific types of requests or hardening the security of your environment – there is much to consider.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= five minus three

Comments

Rating: 4 of 5

06.Oct.2018 at 17:13 by Daniel Craigie (20 comments) via Web2 LIVE

Full of useful information across the hosting platform. I enjoyed the dynamic of two speakers sharing the stage, it kept the audience engaged.

Rating: 5 of 5

06.Oct.2018 at 21:23 by Lee Boynton (67 comments) via Web2 LIVE

Lots of useful information about running php-fpm (and just PHP) in production. The nginx uploads stuff was particularly interesting. I felt that there could almost be two talks with the amount of content. Wasn't quite clear on why you'd want to use multiple php-fpm pools. It would be interesting to know if there are any downsides to redis sessions (what about session locking?). Enjoyed the talk and two presenters worked well.

Rating: 5 of 5

06.Oct.2018 at 23:17 by Peter mcdonald (41 comments) via Web2 LIVE

The talk worked well with both presenters batting off of each other. Although setup an hardware dependant good to see comparisons with how much changing some simple configurations could have such a great impact.

Rating: 5 of 5

07.Oct.2018 at 09:35 by Liam Wiltshire (107 comments) via Web2 LIVE

I wasn't sure how much I'd get from this talk, but I was wrong! Full of useful ideas and things I need to check out - a few things I knew already, but plenty I didn't!

Rating: 5 of 5

07.Oct.2018 at 13:42 by Andy Gaskell (24 comments) via Web2 LIVE

Lots of really practical details and info on PHP-FPM optimisation, things to try out next week for sure.

I think two person talks are a tricky thing to do, but Arne and Sebastian did it really smoothly.

Rating: 4 of 5

07.Oct.2018 at 18:16 by Harro Verton (13 comments) via Web2 LIVE

Very useful, most of the PHP-FPM stuff was already known, as we've recently switched, but most servers still run apache. After this session, I've learned some in-depth study of nginx is in order. ;-)

Rating: 4 of 5

08.Oct.2018 at 10:51 by Patryk Zajdler (7 comments) via Web2 LIVE

A good talk full of useful information. Using multiple worker pools could use some better use cases (i.e. enhanced security by specifying a different OS user for public / unauthorized pool)

Rating: 4 of 5

08.Oct.2018 at 11:00 by Richard Black (17 comments) via Web2 LIVE

Good talk with plenty to take away and apply. I wasn't sure about the two presenter approach to begin with, but I warmed to it as the talk progressed

Rating: 4 of 5

09.Oct.2018 at 10:54 by James Hodgson (19 comments) via Web2 LIVE

A lot of great information and tips on running php-fpm, intrigued to try some of them out. Wasn't sure how well two speakers would work but they managed to pull it off really well.

© Joind.in 2018