Simple High availability load balancer in NodeJS with HaProxy
- Docker and Docker-compose
- K6(Open source load testing tool and SaaS for engineering teams)
- The first time you gonna run the Application:
docker-compose up --build -d
- The second time:
docker-compose up -d
Application URI: http://localhost
HaProxy stats URI: http://localhost:81
docker-compose down
docker-compose logs
Make sure you installed the K6 before.
k6 run load-test.js