LoadBalancer training component

1.0.1 2016-07-13 14:03 UTC

This package is auto-updated.

Last update: 2020-06-13 20:27:20 UTC


Build Status Scrutinizer Code Quality SensioLabsInsight Latest Stable Version Total Downloads


Important : This is a training projet, it's only purpose is to demonstrated how to develop an open source component.


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.


Pull requests are welcome.

Thanks to everyone who has contributed already.

Developed by Nicolas Bastien

Released under the MIT License