Questions tagged [netflix-ribbon]

Ribbon is a Inter Process Communication (remote procedure calls) library with built in software load balancers. The primary usage model involves REST calls with various serialization scheme support.

238 questions
36
votes
2 answers

Difference between @RibbonClient and @LoadBalanced

I understand @LoadBalanced indicates the Rest template should be based on Client Side Load Balancing using Ribbon and checks Eureka server for resolving the service name to host/port. What is the use of @RibbonClient. Is it to support native Ribbon…
jack
  • 803
  • 3
  • 15
  • 26
28
votes
1 answer

Zuul and Ribbon integration

I have trouble understanding the connection between Zuul and Ribbon. I think I got Zuul clear. It's a reverse proxy I can contact to reach one of my several instances of a service. It will pick the right server using a round-robin algorithm or…
VanesBee
  • 616
  • 1
  • 6
  • 18
16
votes
7 answers

Ribbon with Spring Cloud and Eureka: java.lang.IllegalStateException: No instances available for Samarths-MacBook-Pro.local

I am working on Spring Boot Eureka Client Application with Ribbon Load Balancer. I have two instances of the server registered with Eureka with the name "TEST". On the client side, I have the following code to fetch the server from…
14
votes
2 answers

Netflix Zuul/Ribbon/Eureka vs AWS ELB/ALB & ECS

I understand from the documentation with the use of Netflix Zuul & Eureka (maybe Ribbon too) you can build an active load balancer. I have always used AWS ELB, ALB (ECS for container management) with R53. Apart from the vendor portability, Is there…
14
votes
1 answer

Difference between Ribbon circuit breaker and Hystrix

I'm giving a try to Spring Cloud and Spring Boot. It uses Netflix OSS Applications, among them there are Ribbon and Hystrix. Ribbon is a load balancer and comes with some features, one of them is a circuit breaker. Hystrix is a circuit breaker…
reos
  • 8,766
  • 6
  • 28
  • 34
9
votes
1 answer

Netflix Ribbon: add/edit a LoadBalancerRule at runtime via Archaius

My goal is to be able to add/edit a Ribbon LoadBalancerRule at runtime via Archaius. myService.ribbon.NFLoadBalancerRuleClassName=com.netflix.loadbalancer.WeightedResponseTimeRule I'm trying to change the property NFLoadBalancerRuleClassName at…
user5566966
9
votes
1 answer

Zuul/Ribbon/Hystrix not retrying on different instance

Background I'm using Spring cloud Brixton.RC2, with Zuul and Eureka. I have one gateway service with @EnableZuulProxy and a book-service with a status method. Via configuration I can emulate work on the status method by sleeping a defined amount of…
7
votes
0 answers

Spring Loadbalancer Configuration without a discovery server

I am currently working on a POC about client side load balancing.  I thought to use Spring Cloud Loadbalancer for that. But unlike Netflix Ribbon, I could not find a way to configure Spring Cloud Loadbalancer to work without a discovery server…
tnishada
  • 1,315
  • 1
  • 16
  • 24
7
votes
4 answers

com.netflix.zuul.exception.ZuulException: Hystrix Readed time out

I am trying microservices with eureka and zuul. And there is a problem with all requests, which take more then 1 second. As I have understood, 1 second is default hystrix timeout, and for configuring timeouts in Zuul, I have to configure these…
Vadym
  • 436
  • 2
  • 5
  • 11
7
votes
2 answers

spring boot 2 + feign + eureka client wont resolve service-name to URL

I am trying spring-boot (2.0.5) with spring-cloud (Finchley.SR1) and trying to setup communication between two services using Eureka as discovery server and Feign/Ribbon as clients. The setup is quite straightforward (although a bit muddied by the…
7
votes
1 answer

Hystrix & Ribbon Timeout Warnings

Environment Spring Boot 1.5.13.RELEASE Spring Cloud Edgware.SR3 Compiled with Java version "1.8.0_172-ea",Java(TM) SE Runtime Environment (build 1.8.0_172-ea-b03) and source level 1.8 Runtime JRE: in docker with openjdk:10.0.1-jre-slim Question I…
7
votes
2 answers

Can spring-cloud and ribbon perform DNS-based load balancing?

Cloudfoundry plans to add support for DNS A records that maps to multiple IPs (one per app container instance), see docs-proposal. I wonder whether spring-cloud discovery coupled with ribbon can support DNS-based client load balancing. The…
Guillaume Berche
  • 3,049
  • 2
  • 17
  • 18
6
votes
3 answers

is there any difference in maven dependency for Netflix zuul and ribbon while upgrading to Spring boot 2.5.1 and spring cloud 2020.0.3

I am trying to upgrade my spring boot version from 2.1.5.RELEASE to 2.5.1, so I have changed the spring cloud version from Greenwich.RELEASE to 2020.0.3 according to release train Spring Boot compatibility for spring cloud. I am also using…
6
votes
1 answer

Is it possible to use @FeignClient without ribbon?

I want to use @FeignClient(url=...) and make it go directly to the given url instead of picking up hosts from ribbon config. I am aware that in spring-cloud feign comes together with ribbon and eureka by default. According to…
fyrkov
  • 2,245
  • 16
  • 41
6
votes
2 answers

How to override the ribbon.serverListRefreshInterval default value in Spring Cloud Ribbon?

I wrote a simple Spring Cloud Ribbon application, to call a REST service which was registered in Eureka. But how to override the ribbon.serverListRefreshInterval value? The default value is 30 seconds, I'd like to reduce the time interval. Thanks in…
1
2 3
15 16