ngx-php
keepalived
ngx-php | keepalived | |
---|---|---|
7 | 8 | |
687 | 4,312 | |
0.1% | 0.7% | |
7.3 | 9.4 | |
11 days ago | 7 days ago | |
C | C | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 only |
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.
keepalived
-
FrankenPHP: The Modern PHP App Server
It's a tool you tend to come across when you're building highly available network systems, https://github.com/acassen/keepalived .
You might use it to implement redundancy in the load balancer layer of your system, perhaps your firewall round-robins incoming connections between two IP:s where you have nginx proxying to share load between two mirrored clusters, and those IP:s are virtual and handled by keepalived that will shuffle in a backup virtual server if the one currently serving becomes unhealthy or needs to be switched out due to a config rollout or something.
It's a really neat way to be able to just throw more virtual servers at the problems in availability, redundancy, load balancing and so on. I think it does some ARP messaging to achieve this.
- Keepalived entering fault state on reboot
- Setting up secondary Pi-hole
- HA PiHole - Need to Manually Restart Keepalived?
-
Resilience and fault tolerance of Web Oriented Services
Floating IPs let you redirect all incoming network traffic between any of existing HAPRoxy within the same datacenter (EU1 in the scheme below). It can be resolved with Keepalived and Virtual Router Redundancy Protocol. As a result you can use floating IPs to create server infrastructures without single points of failure.
-
Back-up DNS system since docker keeps going down?
keepalived may help to backup. fix issue is the best way.
- MicroK8s – Low-ops, minimal Kubernetes, for cloud, clusters, Edge and IoT
What are some alternatives?
swow - Coroutine-based cross-platform concurrent I/O engine.
bitproto - The bit level data interchange format for serializing data structures (long term maintenance).
ngx_http_proxy_connect_module - A forward proxy module for CONNECT request handling
homer-theme - 🎨 A custom Homer theme! [Moved to: https://github.com/walkxcode/homer-theme]
hyperf - 🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
dperf - dperf: High-Performance Network Load Testing Tool Based on DPDK