mohammadhasanii / Lua-Loadbalancer

This package is written in the Lua programming language and is used for load balancing. I have used it in the Liara cloud infrastructure.

Home Page:https://www.lua.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

Lua-Loadbalancer

This project introduces a simple load balancer with Lua programming language and Docker. The load balancer connects incoming requests within the network to multiple servers to distribute the load of each server.

How it works

This load balancer is implemented using the Nginx server and the Lua programming language. By running the created Docker image, an Nginx server is launched that connects incoming requests to multiple servers. Each time a user input request is received, the load balancer selects the address of the next server from the available server array and sends the request to that server.

Installation and Usage

To use this load balancer, you first need to install Docker and Docker Compose on your system. Then, create your own Docker image with the following command:

About

This package is written in the Lua programming language and is used for load balancing. I have used it in the Liara cloud infrastructure.

https://www.lua.org/


Languages

Language:Dockerfile 67.5%Language:Lua 32.5%