by jchook · 3y ago · 0 comments
Also, Docker environments running PHP via Nginx Unit will no longer need separate containers for http + fpm, as it works similar to Apache's mod_php.
1. https://habr.com/en/articles/646397/
2. https://medium.com/@le_moment_it/nginx-unit-discover-and-ben...
3. https://github.com/nginx/unit/issues/6#issuecomment-38407362...
Unfortunately said benchmarks are usually done by the software company making said webserver, so have to be taken with a pinch of salt.
1. https://www.litespeedtech.com/open-source/litespeed-sapi/php
https://github.com/sameersbn/docker-postgresql/issues/30#iss...
Curious about benchmarks and tests of TCP vs Unix domain sockets between docker containers.
Volume config: https://github.com/api-platform/api-platform/blob/main/docke...
Caddy config: https://github.com/api-platform/api-platform/blob/main/api/d...
php-fpm config: https://github.com/api-platform/api-platform/blob/main/api/d...
I'm also curious on the performance differences between containers.
"Unix Domain Sockets vs Loopback TCP Sockets"
https://nicisdigital.wordpress.com/2014/03/03/unix-domain-so...
Hn submission: https://news.ycombinator.com/item?id=37466475
1. Does Unit + PHP doing the typical “initialize & teardown” that PHP is know for?
Or is Unit persisting the initialization/setup, hence why it’s achieving the way faster results?
2. How is Unit/PHP architecturally different than NGX-PHP (an event loop)?