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
0
votes
0 answers

How to distribute load among different spring boot microservice instances

Say for example, can we limit the number of requests to be processed by an instance should be 50 and the rest has to be processed by another instance. Do we require any configuration changes related to ribbon.
0
votes
1 answer

Ribbon without Eureka : Ribbon doesn't remember that a server is down via PingURL

I am using Ribbon without Eureka.I am using a ConfigurationBasedServerList to provide the list of server instances like so.. customerinfo.ribbon.listOfServers=localhost:9003,localhost:9008 I have configured PingURL with the /health endpoint. I have…
Amith M
  • 61
  • 1
  • 7
0
votes
1 answer

Netflix Zuul - Lookup metadata to influence routing?

we are designing an application infrastructure with the intention of having Zuul as an intelligent router for a Web application (and also micro services but that is orthogonal to this question). I am struggling with understanding how Zuul wants to…
psparago
  • 1,113
  • 11
  • 21
0
votes
0 answers

How to set the value of loadBalancerKey in ribbon or Feign

In Spring Cloud, I'm using Ribbon or Feign as the client API, and we have a server cluster registered in Eureka. In my case, I want to use the specific key to determine which server I want to call, eg: server-A has two instances, localhost:8001 and…
0
votes
1 answer

Customizing Ribbon configuration with Zuul/Eureka

I am using Spring Cloud Netflix Zuul along with Eureka in our environment. I assume internally Zuul uses Ribbon to do the load balancing after obtaining the instance info from Eureka. I want to customize ribbon configuration when used with…
dexdeb
  • 53
  • 2
  • 6
0
votes
1 answer

Eureka on Cloudfoundry RestTemplate gets 301 Moved Permanently

I’m setting up a Spring Boot microservice infrastructure with a Eureka Service Registry. I’m using RestTemplate to call another service (resolution done via Eureka) locally it works perfect! But on Cloud Foundry I always get a “301 Moved…
0
votes
0 answers

Spring - Service registration with Eureka ignored by Ribbon

I have a Spring Boot app trying to fetch an instance of a service through Eureka/Ribbon: @LoadBalanced @Autowired RestTemplate restTemplate; @RequestMapping("/hi") public String hi(@RequestParam(value="name", defaultValue="superuser") String name)…
levacjeep
  • 673
  • 3
  • 6
  • 23
0
votes
0 answers

Is Zuul/Ribbon/Eureka combo ideal for edge services

Eureka is ideal for middle tier services as service registry and discovery soln. Isn't it going to be a security smell, if the same eureka server is used to register edge services also? In such case, is it advisable to have separate eureka servers…
Divs
  • 1,578
  • 2
  • 24
  • 51
0
votes
1 answer

How to call other eureka client in a Zuul server

application.properties zuul.routes.commonservice.path=/root/path/commonservice/** zuul.routes.commonservice.service-id=commonservice zuul.routes.customer.path=/root/path/customer/** zuul.routes.customer.service-id=customer zuul.routes.student.path=…
user2567005
  • 271
  • 1
  • 13
  • 27
0
votes
1 answer

Load Balancing micro services using Spring cloud Netflix OSS

I have a microservice built using Spring Boot and Netflix OSS. I have used Central config server, Eureka and Zuul. Because of scalability multiple instances of the services is running on different port. All the instances are registered in Eureka but…
0
votes
1 answer

zuul multiple urls one path

Hi I have a route that can have multiple servers... I have tried the following to no…
Alex
  • 587
  • 11
  • 31
0
votes
1 answer

how to customize the ribbon load balancer in Zuul server

As I understand the default load balancer using in Zuul proxy server as DynamicServerListLoadBalancer and it use ZoneAffinityServerListFilter rule to choose server. However, is there any way I can customize the loadbalancer used in zuul proxy…
Joey Trang
  • 1,105
  • 2
  • 23
  • 44
0
votes
1 answer

Replace ConfigurationBasedServerList for all services

With Ribbon, if you want to use a custom ServerList implementation instead of the default ConfigurationBasedServerList for a specific service, you can do it like this in the application configuration file: my-service: ribbon: …
0
votes
0 answers

Automaticle replicate microservices with Spring Cloud Netflix

I have multiple Spring Cloud microservices. I want the automatic replication of microservices to be done when microservice cannot manage to do its work. I tried to find any solutions but I found only this: here. This solution cannot be applied to my…
0
votes
1 answer

Dynamically Configuring a Zuul Proxy during Runtime?

I have a url path that looks like this: /{identifier}/rest/of/resource/path If the identifier is A then the request should go to service_I. If the identifier is B then the request should also go to service_I. If the identifier is C, then the…
Ole
  • 41,793
  • 59
  • 191
  • 359
1 2 3
15
16