Skip to content

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

Notifications You must be signed in to change notification settings

mohammadhasanii/Lua-Loadbalancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published