Questions tagged [hystrix]

In a distributed environment, failure of any given service is inevitable. Hystrix is a library designed to control the interactions between these distributed services providing greater latency and fault tolerance.

As of November 2018 Hystrix is officially in maintenance mode. New adaptors are encouraged to seek more modern alternatives, such as resilience4j.

Purpose of Hystrix

  • Give protection from and control over latency and failure from dependencies (typically accessed over network) accessed via 3rd party client libraries.
  • Stop cascading failures in a complex distributed system.
  • Fail fast and rapidly recover.
  • Fallback and gracefully degrade when possible.
  • Enable near real-time monitoring, alerting and operational control.

https://github.com/Netflix/Hystrix/wiki

734 questions
0
votes
0 answers

HystrixRuntimeException : timed out

I am getting this error: com.netflix.hystrix.exception.HystrixRuntimeException: getCatchmentsByAreaType timed-out and fallback failed. When I try calling the same method though API it works. I don't know why! I have set following properties in…
Akash Shinde
  • 91
  • 12
0
votes
1 answer

How to configure plugin for ClusterMonitorFactory for turbine?

I am getting started with netflix turbine. I have a small spring boot application, which needs to serve as turbine server: import com.netflix.turbine.streaming.servlet.TurbineStreamServlet; import org.springframework.boot.SpringApplication; import…
cremersstijn
  • 2,375
  • 4
  • 28
  • 41
0
votes
1 answer

How to get the current configuration of a thread pool via its HystrixThreadPoolKey?

Is there a way to retrieve a HystrixThreadPoolProperties instance (or some other property container) specific to a HystrixThreadPoolKey? So basically the default thread pool properties overlaid with my configuration provided by executing a command…
vpiTriumph
  • 3,116
  • 2
  • 27
  • 39
0
votes
0 answers

What Netflix OSS frameworks can I use on-premise?

I have looked at the different frameworks in the Netflix OSS stack, but I have problems find which of those have a strong dependency to AWS. E.g. some pages state that Eureka can only be used on AWS, but Eureka's own pages does not clearly state…
user1340582
  • 19,151
  • 35
  • 115
  • 171
0
votes
0 answers

Spring Cloud Ribbon Raise Error when using RestTemplate

I am facing a problem when Trying to user Ribbon for retrieve information from a microservice B to my microservice A. I am using spring cloud Brixton.M4, here is my build.gradle file: buildscript { ext { grailsVersion =…
0
votes
1 answer

Unable to apply "sleepWindowInMilliseconds" property in Hystrix

Hi I am trying to use Hystrix pattern in my sample program. Using following version com.netflix.hystrix:hystrix-core:1.4.21 import com.netflix.hystrix.HystrixCommand; import com.netflix.hystrix.HystrixCommandGroupKey; import…
sc so
  • 303
  • 1
  • 5
  • 13
0
votes
0 answers

Getting Issue while building hystrix

Initially I had a issue of : Build Error : A problem occurred configuring root project 'hystrix'.> Failed to notify project evaluation listener. JNA native support (com/sun/jna/linux-ppc64le/libjnidispatch.so) not found in resource path. I put…
Salamani
  • 71
  • 1
  • 1
  • 9
0
votes
1 answer

Hystrix - stopping requests at top level if one of a sequential set of external requests fail

Apologies if the title is not clear, I couldn't quite explain my problem in such a short sentence. I've just started using hystrix-javanica and I have it working where I have a circuit breaker around 1 external network call. I have another scenario…
0
votes
1 answer

Hystrix Dashboard: How to use

I have a local web service using Jersey and the path looks something like http://localhost:5000/search?... Then I installed the Hystrix dashboard to my Tomcat following this tutorial https://github.com/Netflix/Hystrix/wiki/Dashboard What URL do I…
cheng
  • 6,596
  • 6
  • 25
  • 27
0
votes
1 answer

Can Netflix Hystrix be used without RAbbitMQ

The usage of Hystrix which I have seen (i.e. with Spring cloud) uses an AMPQ broker? Can Netflix Hystrix be used without RAbbitMQ? i.e. with JMS?
Fahim Farook
  • 1,482
  • 2
  • 14
  • 38
0
votes
2 answers

Multiple services on a Hystrix/Turbine dashboard?

I am trying to get a view on 2 different services that are running using Spring Boot. Both services are nicely registered in Eureka and now i want to get some Hystrix data plotted in the Turbine webapplication. When testing out the single services…
Marco
  • 15,101
  • 33
  • 107
  • 174
0
votes
1 answer

How to configure Netflix Turbine to use basic auth when collecting data from Hystrix streams?

We're exposing Hystrix streams from severals services. These streams are exposed from the management port of each service which is protected by basic authentication. Is it possible to configure Turbine to use basic auth when contacting to (certain)…
Johan
  • 37,479
  • 32
  • 149
  • 237
0
votes
0 answers

How to take out ONLY the eureka ill service application instance to avoid hystrix circuit breaking?

I'm trying out on my local machine the spring-cloud-samples and I have developed a simple REST service with eureka and hystrix support. I have a frontend application which connects to the service via a hystrix command method (@HystrixCommand…
0
votes
1 answer

How to use Netflix ObservableResult and rxJava within Asynchronous mode

I was trying to use netflix observable however I managed to do so only synchronously: This is how I define the remote call: @Named public class BroConsumerService { .. @HystrixCommand(fallbackMethod = "stubbedMethod") public Observable
rayman
  • 20,786
  • 45
  • 148
  • 246
0
votes
1 answer

Turbine doesn't know contextPath of each application through Eureka

When deploying Spring Cloud-enabled microservices on JBoss, we have to use a contextPath. Turbine doesn't seem to fetch the contextPath from eureka and eureka doesn't seem to ask it to the microservices. Some more details: Every microservice has its…
Andreas Evers
  • 252
  • 2
  • 10
1 2 3
48
49