Skip to content

Example docker-compose for implementing custom load balancing with HAProxy.

Notifications You must be signed in to change notification settings

avct/haproxy-loadbalancing-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HAProxy Custom Load Balancing

Start with:

docker-compose up

Test by making a POST using cURL.

curl -XPOST -d '{"value":"123"}' http://127.0.0.1:5000

The backend server should be selected based on the value passed in the 'value' property of the JSON request body.

About

Example docker-compose for implementing custom load balancing with HAProxy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 66.2%
  • Lua 33.8%