Table of Contents
This project implements a simple Load Balancer using Golang, reverse proxy, and Docker. The load balancer distributes incoming network traffic across multiple backend servers to ensure optimal resource utilization and maintain high availability.
Following are the prerequsites for the project.
- Golang
- Docker
- Docker-compose
Below are the steps of installation.
- Clone the repo
git clone https://github.com/kedarnathpc/load-balancer
- Build the Docker images
docker-compose build - Run the Docker containers
docker-compose up -d
- Access the load balancer at http://localhost:8080.
- Add or modify backend servers in the files as needed.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request