Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.78 KB

README.md

File metadata and controls

49 lines (27 loc) · 1.78 KB

LoadBalancer

Build Status Scrutinizer Code Quality SensioLabsInsight Latest Stable Version Total Downloads

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