ngx-php
nginx-module-vts
ngx-php | nginx-module-vts | |
---|---|---|
7 | 4 | |
687 | 3,382 | |
0.1% | 0.6% | |
7.3 | 7.6 | |
11 days ago | about 1 month ago | |
C | C | |
BSD 2-clause "Simplified" License | BSD 2-clause "Simplified" License |
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
-
The Rise of Hybrid PHP: Blending PHP with Go and Rust
Pasir is like frankenphp, but in Rust. Very promising, but still early in development:
https://github.com/el7cosmos/pasir
Which uses the following Zend API bindings for Rust:
https://github.com/davidcole1340/ext-php-rs
There's also all sorts of interesting experiments, like ngx-php, which basically embeds PHP via Zend API inside an nginx binary: https://github.com/rryqszq4/ngx-php
And workerman, which has a hybrid backend of asio libraries, so you can get pretty fast runtimes: https://github.com/walkor/workerman
- 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-module-vts
-
Quem mexeu no meu cache?
Colete métricas de uso do cache. Quanto mais requests com HIT, melhor vai ser seu cache hit ratio.
-
Monitoring / stats / analytics for Nginx Proxy Manager
this too https://github.com/vozlt/nginx-module-vts
-
Metrics from logs. Why?
I've had reasonable luck with nginx-lua-prometheus and nginx-module-vts. But yea, neither are ideal compared to using something that does this out of the box like HAProxy, Envoy, or Traefik.
-
NGINX Reverse Proxy Metrics to Monitor
Don't forget about nginx-module-vts.
What are some alternatives?
swow - Coroutine-based cross-platform concurrent I/O engine.
ngx_http_proxy_connect_module - A forward proxy module for CONNECT request handling
nginx-proxy-manager-goaccess - NGINX Proxy Manager and Goaccess docker file
hyperf - 🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
nginx-jwt-module - NGINX module to check for a valid JWT.