Skip to content

yichunzhao/room-reservation-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client side load balancing with Ribbon

Add Dependencies

Register service in Eureka, meaning while enable the ribbon to consume the services via the client load balancing.

		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
		</dependency>

Enable Service and Load-Balancing

image

Releases

No releases published

Packages

No packages published

Languages