ngx-php
swow
ngx-php | swow | |
---|---|---|
6 | 4 | |
660 | 1,214 | |
0.8% | 0.5% | |
8.2 | 8.1 | |
25 days ago | 2 months ago | |
C | C | |
BSD 2-clause "Simplified" License | Apache License 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.
swow
- Running PHP with io_uring
- Using PHP as a multiplayer FPS game engine with clients renderer using WebGL
-
What third-party extension or library would you like to see included in php as default?
Why not try swow(https://github.com/swow/swow),the v1.0 will coming soon
- Swow a high-performance pure coroutine network communication engine, which based on PHP and C
What are some alternatives?
nginx-module-vts - Nginx virtual host traffic status module
ext-pmmpthread - Fork of https://github.com/krakjoe/pthreads with a revamped API and PHP 8.1+ support
hyperf - 🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
Serendipity-job - 🚀🐟 Task Platform Developed Based On Swow and Php8 |基于swow和php8开发的任务平台
suhosin7 - Suhosin Extension for PHP 7.x
scalar_objects - Extension that adds support for method calls on primitive types in PHP
NGINX Unit - NGINX Unit is a lightweight and versatile open-source web app server that has three core capabilities. It is a HTTP reverse proxy, a web server for static media assets, and an application server that can natively execute application code in seven different languages.
async.h - Stackless Async Subroutines for C
ngx_healthcheck_module - nginx module for upstream servers health check. support stream and http upstream. 该模块可以为Nginx提供主动式后端服务器健康检查的功能(同时支持四层和七层后端服务器的健康检测)
ext-ds - An extension providing efficient data structures for PHP 7
ngx_http_proxy_connect_module - A forward proxy module for CONNECT request handling
pyawaitable - Call asynchronous code from an extension module.