ibekiaris / load-balancing
A PHP 7.2+ library for implementing load balancing in PHP.
Requires
- php: >=7.2.0
- psr/simple-cache: ^1.0
Requires (Dev)
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^4.0 || ^5.0
- symfony/cache: ^4.3
This package is auto-updated.
Last update: 2025-03-29 00:58:36 UTC
README
ibekiaris/load-balancing is a PHP 7.2+ library implementing load balancing in PHP.
About
From Wikipedia:
In computing, load balancing improves the distribution of workloads across multiple computing resources, such as computers, a computer cluster, network links, central processing units, or disk drives.[1] Load balancing aims to optimize resource use, maximize throughput, minimize response time, and avoid overload of any single resource. Using multiple components with load balancing instead of a single component may increase reliability and availability through redundancy. Load balancing usually involves dedicated software or hardware, such as a multilayer switch or a Domain Name System server process
Installation
The preferred method of installation is via Packagist and Composer. Run the following command to install the package and add it as a requirement to your project's composer.json
:
composer require ibekiaris/load-balancing
Examples
Those examples will help you better understand how to use this library
Copyright and license
The ibekiaris/load-balancing library is copyright © Ioannis Bekiaris and licensed for use under the MIT License (MIT). Please see LICENSE for more information.