Skip to content

bcanvural/ribbon-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ribbon, Client Side LoadBalancer

https://spring.io/guides/gs/client-side-load-balancing/

Run 3 instances of say-hello service:

In /say-hello

SERVER_PORT=8888 mvn spring-boot:run
SERVER_PORT=8090 mvn spring-boot:run
SERVER_PORT=9092 mvn spring-boot:run

Run user service:

In /user

mvn spring-boot:run

Then:

curl localhost:8888/hi

Releases

No releases published

Packages

No packages published

Languages