CODEWITHSUNDEEP
Home
Blog
Discussion
java
spring-boot
spring-cloud
netflix-eureka
netflix-ribbon
YellowFootMountain
Reputation: 23
Load balancing via Eureka, ribbon?
Does Eureka provide load balancing out of the box, is there a need for another dependency?
Why Ribbon instead of Eureka?
Why use load balancing via an API gateway?
spring-cloud-starter-loadbalancer, why is this required?
Client side balancing or server side load balancing, why use one over the other?
Upvotes: 2
Views: 2064
Answers (1)
Jonatan Ivanov
Reputation: 6833
No it does not, Eureka is a service registry and service discovery tool
"With", not "instead of": Eureka holds the list of services, Ribbon downloads them and does load balancing on the client side
I'm not 100% sure I understand this, does this article help:
https://www.linkedin.com/pulse/microservices-client-side-load-balancing-amit-kumar-sharma
Not required but if you want client side loadbalancing, it is a simple starting point, see the guide:
https://spring.io/guides/gs/spring-cloud-loadbalancer/
See answer #3
Upvotes: 2
Related Questions
How can i load balance on two eureka server on two different Machines?
Can Spring Cloud Loadbalancer be used together with Netflix Eureka instead of Netflix Ribbon?
Spring boot load balancing
Ribbon load balance algorithms
How to regist an Eureka client to a Eureka server cluster with loadbalance?
Load Balancing micro services using Spring cloud Netflix OSS
Loadbalancing with Ribbon
How to implement Load Balancer in java
loadbalanced ribbon client initialization against discovery service (eureka)
Load Balancing in Spring Cloud / Netflix OSS
Close Ad