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
2
votes
1 answer

how to variable (Ratio) load balance using Ribbon spring boot?

As I distributed similar instance to two different servers, my first server has good configuration but the second server have not enough memory for cache. So I want 80% of the requests being transfered to my first server and the remaining to the…
2
votes
1 answer

How to set ServerListRefreshInterval in ribbon load balancer?

I'm using Spring, Eureka and Ribbon. I want to change the refresh interval for ribbon. While reading the documentation, I found out that I should set the following property: my-service.ribbon.ServerListRefreshInterval=99999 However, it doesn't help…
2
votes
0 answers

LoadBalancerFeignClient +fallback with ribbon retry properties is not working

I have two micro services A and B with eureka enable .Am using feign in B to call A service it's working fine .And am trying to make retry works with below ribbon properties feignclient @FeignClient(name = "https://test", path = test,…
senthil kumar
  • 237
  • 1
  • 6
  • 18
2
votes
1 answer

org.springframework.beans.factory.UnsatisfiedDependencyException on Cloud Rest Client with Netflix Ribbon

I am getting a org.springframework.beans.factory.UnsatisfiedDependencyException while running SpringClientSideRibbonApplication.java class. I think there is no error but I don't know why this exception comes. Please help me. I am using STS…
2
votes
1 answer

How to configure zuul and ribbon for load balance and failover without Eureka

Spring boot version : 1.5.7.Release Spring Cloud version : Dalston.SR4 I'm testing zuul server with ribbon and I don't want to Eureka I have added the following configuration in zuul server. #application.properties spring.application.name=…
Tw K
  • 70
  • 2
  • 8
2
votes
1 answer

SSLPeerUnverifiedException - Certificate for <> doesn't match common name of the certificate subject

We got the following exception when we try to access secure https REST point from zuul. 2017-10-27 08:26:08.499 DEBUG 15708 --- [http-nio-9092-exec-1] o.a.h.c.ssl.SSLConnectionSocketFactory : Secure session established 2017-10-27 08:26:08.500…
2
votes
1 answer

How to make ribbon and eureka aware of a server not being up anymore

I am working in an microservices architecture that works as follows I have two service web applications (REST services) that register themselves correctly in an eureka server, then I have a client application that fetches the eureka registry and…
Juan Antonio Gomez Moriano
  • 13,103
  • 10
  • 47
  • 65
2
votes
2 answers

Ribbon and Eureka - No instances available

I've created a simple project with Ribbon and Netflix Eureka. Eureka works fine, I can see all registered services. However, Ribbon load balancer doesn't see the services. Actually in the logs it prints that it sees the server in "current list of…
zfia dada
  • 23
  • 1
  • 5
2
votes
1 answer

Feign + Ribbon request interception AFTER target host is choosen

What I'm currently doing (which is very simple and convenient way): Feign.builder() .client(RibbonClient.create()) ... .requestInterceptor(new MyInterceptor()) But interception occur before ribbon actually resolve target host. Problem is, that one…
Purple
  • 711
  • 2
  • 10
  • 19
2
votes
1 answer

How to use control ribbon retry in method level?

I configured ribbon as show…
Raw
  • 615
  • 1
  • 7
  • 22
2
votes
0 answers

Spring Boot Ribbon no instances found but it has its addresses

I'm writing an application which uses Ribbon and I have error as below: 2017-07-22 19:05:22.742 WARN 9907 --- [nio-8091-exec-8] com.netflix.loadbalancer.RoundRobinRule : No up servers available from load balancer:…
user2455862
  • 585
  • 10
  • 26
2
votes
1 answer

Spring Ribbon statistics

I have a Spring boot microservice and I use @LoadBalanced with Ribbon and works like a charm. But now I'm searching if there is a way to collect stats or metrics from Ribbon. There is a way to get this information programmatically? When the…
Maicon Luz
  • 51
  • 1
  • 5
2
votes
1 answer

Loadbalancing with Ribbon

I have a quick question about the way Ribbon choose a server. Assuming I have two services which can be selected by Ribbon. How Ribbon knows which service to select? Does it check both services in order to know which one is less overloaded? If…
2
votes
1 answer

How do I use okhttp in the spring cloud ribbon

The getting started of the spring cloud ribbon is very easy and simple, and it is using the rest template to communicate with backend servers. But in our project we are more like to use okhttp to do the http request, does anyone can help?
2
votes
2 answers

Spring Boot Cloud + Ribbon + Feign + Hystrix + Zookeeper: what's going on retries and failures?

I am trying to create few services with spring-boot (1.5.1) using Ribbon + Feign + Hystrix (and my service discovery is spring-boot-zookeeper) and I don't use Zuul. I was (naive) thinking it should work in following way: Calling Feign method…