AMPHP POOL v1.0.0
Here is the release of the AMPHP POOL library, designed for creating server applications with an infrastructure built entirely in PHP without additional dependencies.
Why is this needed?
- You want to use only pure PHP without additional extensions.
- You want to control how your Workers operate,
and you want to be able to program their behavior to ensure a better balance of performance and stability.
Features
- Workers for handling connections and background tasks (jobs), which are restarted and scaled on demand.
- Support for different
types
andgroups
of Workers with varying behaviors. - Strategies for
restarting
,scaling
, andpickuping
Workers for load distribution. - Execution of Jobs based on
priority
andweight
(weight being an estimate of resource consumption). Coroutine Scheduler
for distributing a load among long-running background jobs.- Support for telemetry and statistics with Prometheus + Grafana.
- Support for Windows.