I'm always in need of knowing more about server configurations. Thanks for the concise explanation, Chris!
@jeffreykroonen Жыл бұрын
Thanks for the clear explanation! You’re posting great and helpful content. Keep it up!
@MatthewSetter Жыл бұрын
Thanks for a very clear and succinct video on the topic. I think, periodically, I noticed video artifacts, but they weren't overly distracting. Looking forward to the next video.
@fideloper Жыл бұрын
thanks! I think (guessing) that’s related to the sun shining differently as clouds moved in front of it (maybe the software doesn’t handle that well when exporting). Unsure!
@vaviloffx Жыл бұрын
Thnks Chris, this is a very useful reminder to tune the php-fpm settings, completely forgot to do so after moving to a dedicated server 😅
@Akhzar1000 Жыл бұрын
You earned a sub, greatly explained
@kurshadqaya1684 Жыл бұрын
Thank you! You explain in an easy way.
@fideloper Жыл бұрын
Glad it's useful!
@ricardo.fontanelli Жыл бұрын
great explanation as always 👏
@falkowoudstra Жыл бұрын
I love "run your code" is the Laravel logo 🤣💪🏻
@manchineel Жыл бұрын
I am delving into this mess right now. I am testing out the other MPMs like event and worker to increase performance on a server. I am a little confused by the difference between the PHP FPM settings here and the ones with similar names in the Apache modules config files.
@fideloper Жыл бұрын
Hi! I believe the settings when configuring Apache's Mod PHP process model are different. Apache CAN use php-fpm if it proxies requests off to php-fpm over fastcgi, however Apaches PHP module works differently (without PHP-FPM) so the process settings may be doing different things (especially depending on which module you use, as they spin up processes / child processes in a different way). I don't recall the exact details on how tho!
@JohnnyBigodes Жыл бұрын
I was just searching on how to set the max_children and found this very helpful video. What could be a good way to measure the peak memory taken for each request? Thank you in advance
@fideloper Жыл бұрын
Hey! The video mentions these options: 1. Laravel debugbar (most useful in dev, should be accurate enough for production tho) 2. Add some app logging that prints out the memory_get_peak_usage() method for a given request (my favorite cheap option) 3. Using some third party APM tools like Sentry, New Relic, DataDog, etc
@jelajahmania Жыл бұрын
how to optimize php fpm for 10000 req per sec , with nginx,mysql,laravel
@fideloper Жыл бұрын
10,000 RPS is at a scale where you pay someone to do that for you. Short answer is: Load balancers and a bunch of web servers on the web end, and very large mysql servers (and perhaps read replicas) on the backend.