nbn / loadbalancer
LoadBalancer training component
1.0.1
2016-07-13 14:03 UTC
Requires
- php: ^5.4||^7.0
- symfony/http-foundation: ^3.1
Requires (Dev)
- phpunit/phpunit: ^5.0||^4.0
- squizlabs/php_codesniffer: ^2.5
This package is auto-updated.
Last update: 2024-12-14 05:59:50 UTC
README
Overview
Important : This is a training projet, it's only purpose is to demonstrated how to develop an open source component.
Installation
This is installable via Composer as nbn/loadbalancer:
composer require nbn/loadbalancer
Getting start
This component provides you a loadbalancer class to handle your request.
You have the possibility to define a list of registered host and a chooser algorithm.
This component implement two chooser :
- RotationChooser : basic random chooser
- LoadLimitChosser : return host under a given load limit
Go further
This component provided all the necessary set of interfaces to extends it as needed.
Contributing
Pull requests are welcome.
Thanks to everyone who has contributed already.
Developed by Nicolas Bastien
Released under the MIT License