Skip to content

AMPHP POOL v1.0.0

Compare
Choose a tag to compare
@EdmondDantes EdmondDantes released this 13 Jul 08:57
· 7 commits to main since this release

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 and groups of Workers with varying behaviors.
  • Strategies for restarting, scaling, and pickuping Workers for load distribution.
  • Execution of Jobs based on priority and weight (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.