ngx-php
NGINX Unit
ngx-php | NGINX Unit | |
---|---|---|
6 | 19 | |
664 | 5,481 | |
0.6% | 0.7% | |
8.0 | 9.3 | |
about 1 month ago | 2 days ago | |
C | C | |
BSD 2-clause "Simplified" License | Apache 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ngx-php
- FrankenPHP: The Modern PHP App Server
- Ngx-PHP: Embedded PHP 8 for Nginx
-
Nginx Unit – Universal web app server
Two questions:
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)?
https://github.com/rryqszq4/ngx-php
-
I was looking at TechEmpower benchmarks, and noted that PHP performs better than Node, how's that possible?
I guess you referring to php-nginx which seems pretty niche.
- ngx_php7 - Embedded PHP scripting language for nginx module.
NGINX Unit
-
Nginx Unit: open-source, lightweight and versatile application runtime
We're very actively working on improving Unit's UX/DX along those lines. Our official Docker images will pick up and read configuration files from `/docker-entrypoint.d/`, so you can bind mount that into your container and you should be off to the races. More details at https://unit.nginx.org/installation/#initial-configuration
But that's still kinda rough, so we're also overhauling our tooling, including a new (and very much still-in-development) `unitctl` CLI which you can find at https://github.com/nginx/unit/tree/master/tools/unitctl. With unitctl, you can manually run something like `unitctl --wait-timeout-seconds=3 --wait-max-tries=4 import /opt/unit/config` to achieve the same thing.
- Litestar – powerful, flexible, and highly performant Python ASGI framework
-
Performance benchmark of PHP runtimes
Nginx Unit application server.
- Nginx Unit: Universal Web App Server
-
Nginx Unit – Universal web app server
This is great to read! Thanks for all the great input!
I check the comments next week and make sure to address the issues / ideas mentioned. If you don’t mind feel free to drop a comment here as well with your ideas / needs. https://github.com/nginx/unit/issues/945
I will work on a compression between Nginx and Unit to close this gap in our documentation.
- Universal Web App Server
-
h5ai gallery alternative for nginx
You could try running h5ai with NGINX UNIT.
-
Which reverse proxy are you using?
nginx, but nginx-unit looks very interesting. I might switch a few docker containers to use it before trying to use it natively.
- Universal Web App Server – Nginx Unit
-
Nginx front / Nginx Unit-PHP Back
unix:/filesocketheadache (problems) verses unix:@abstractsocketmagic (problem solved)
What are some alternatives?
nginx-module-vts - Nginx virtual host traffic status module
uvicorn - An ASGI web server, for Python. 🦄
swow - Coroutine-based cross-platform concurrent I/O engine.
transport-site - Rendre disponible, valoriser et améliorer les données transports
hyperf - 🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
Traefik-v2-examples - Traefik v2 guide by examples