An open API service indexing awesome lists of open source software.

https://github.com/aryansharma5/pyalb

A load balancer implementation from scratch in python
https://github.com/aryansharma5/pyalb

flask http load-balancer python round-robin strategy-pattern

Last synced: 7 months ago
JSON representation

A load balancer implementation from scratch in python

Awesome Lists containing this project

README

          

pyalb
--------

.. image:: https://img.shields.io/pypi/v/pyalb.svg?style=flat
:alt: PyPI version
:target: https://pypi.python.org/pypi/pyalb

.. image:: https://img.shields.io/pypi/pyversions/pyalb.svg
:alt: Supported Python versions
:target: https://pypi.python.org/pypi/pyalb

.. image:: https://github.com/AryanSharma5/pyalb/actions/workflows/prod-workflow.yml/badge.svg
:alt: Build Status
:target: https://github.com/AryanSharma5/pyalb/actions/workflows/prod-workflow.yml

pyalb is a simple http load balancer. It supports following routing algorithms

- Round Robbin
- Random Selection

Installation
------------

Install from PyPI::

$ pip install pyalb

or::

$ git clone https://github.com/AryanSharma5/pyalb.git
$ cd pyalb
$ python -m pip install .

or install in editable version::

$ git clone https://github.com/AryanSharma5/pyalb.git
$ cd pyalb
$ python -m pip install -r requirements-dev.txt

Usage
-----

Todo

License
-------

pyalb is released under the MIT License. See the LICENSE_ file for more
details.

.. _LICENSE: https://github.com/AryanSharma5/pyalb/blob/master/LICENSE