Questions tagged [resiliency]

Resiliency, also known as self-repair, is a Windows Installer concept triggering automatic repair of broken installations.

60 questions
1
vote
2 answers

Avalilability Zones and their absence in Azure

Availability Zones are not available in all regions in Azure yet. So, in the absence of this feature what are some HA alternatives adopted by customers ?
GilliVilla
  • 4,998
  • 11
  • 55
  • 96
1
vote
3 answers

Retry HTTP request from .NET with different proxy server

I can issue HTTP requests through a proxy in a .NET app. There are a number of proxy servers I can use and sometimes one or more will go down. How can I have my app retry the HTTP request using a different proxy? I am open to any suggestion and have…
Brett Rowberry
  • 1,030
  • 8
  • 21
1
vote
1 answer

Custom error conditions to trigger fallback in Hystrix

From the understanding, Hystrix fallback logic is triggered when certain conditions occurred such as Request timeout, thread-pool running at a capacity of 100% or dependency throws exception. Beside these 3 factors can I add more conditions that are…
colossal
  • 529
  • 1
  • 5
  • 22
1
vote
0 answers

Pool of dependencies rahter than one in Hystrix

I understand that we execute a command in hystrix against a dependency. Lets say that dependency is exposed as a web service endpoint (REST). In my case that dependency is a server farm (a pool of servers established to serve high availability). Can…
colossal
  • 529
  • 1
  • 5
  • 22
1
vote
3 answers

resilient microservices design pattern

in reactive programming Resilience is achieved by replication, containment, isolation and delegation. two of the famous design patterns are Bulkheads with supervisor and circuit breaks. are these only for reaching isolation and containment? what are…
Amir-Mousavi
  • 4,273
  • 12
  • 70
  • 123
0
votes
0 answers

python resiliency to handle slow calls to remote API

I am looking for a python library that allows me to slow down my rate of requests to a remote API when the execution time becomes slow. For example, in Java, we have resilience4j with circuit breaker, which allows us to configure both the failure…
Simo
  • 2,292
  • 5
  • 30
  • 45
0
votes
0 answers

AWS SQS and SQS DLQs are the fail safe. What if the SQS Service Fails?

I use SQS and SQS based DLQs a lot to have resiliency in my application architecture. What is the best way to implement a DLQ when AWS SQS Service is not available and adding the event to SQS fails?
Jaf
  • 811
  • 2
  • 7
  • 9
0
votes
0 answers

Remove SqlServerRetryingExecutionStrategy from DbContext

I have my IDbContextFactory in my Asp.Net Core App registered using RetryOnFailure() on my Startup.cs which adds a SqlServerRetryingExecutionStrategy. However for a specific action in my app, I need to use my own System.TransactionScope…
wertzui
  • 5,148
  • 3
  • 31
  • 51
0
votes
0 answers

Resilience4J still jumping into fall back method after switching to disabled state

I am trying to test r4j changes, I want to be able to turn it off. I am using the transitionToDisabledState method but it is still jumping to fall back method although the state is disabled. Am I missing something here? Thanks in advance. Sorry if…
0
votes
0 answers

Does semian gem in ruby opens the circuit only within one pod in kubernetes?

We deploy our code on kubernetes and have integrated the circuit breaker for redis in our ruby on rails using semian gem. In the document, it says that the circuit breaker feature is not coordinated server wide. Does it mean that if the circuit…
Savvy
  • 21
  • 1
  • 8
0
votes
0 answers

How is control returned to application threadpool from bulkhead when using resiliency4j?

I am considering resiliency4j with my spring-boot-web microservice . As i understand with resiliency4j i can specify a separate threadpool for each of the target system . In my request processing path , there is also a segment of processing that…
redzedi
  • 1,957
  • 21
  • 31
0
votes
1 answer

involuntary disruptions / SIGKILL handling in microservice following saga pattern

Should i engineer my microservice to handle involuntary disruptions like hardware failure? Are these disruptions frequent enough to be handled in a service running on AWS managed EKS cluster. Should i consider some design change in the service to…
new__1
  • 345
  • 3
  • 6
0
votes
1 answer

Resilience4j Retry - Memory consumption

I am using resilience4j with Spring Boot 2.x What is the impact of using Retry and circuit breaker modules on memory and cpu? Also what is the memory impact if I have 2000 events/s incoming each payload around 10Mb and I have kept the wait duration…
Mudit
  • 58
  • 6
0
votes
1 answer

Starting with Polly basics

I'm pretty new with Polly and I'm trying to understand how works, starting from the very basics. To test the retries I tried to create a code (Print) that has 33% to generate a DivideByZeroException. When the error is generated it raise up to…
user1812102
  • 51
  • 1
  • 6
0
votes
1 answer

Fallback for DynamoDB with SQS

We have a synchronous REST endpoint that does other processing apart from saving item to DynamoDB database which will be used for later purpose. The requirement is to not error out if the database save fails due to any type of exception. How do we…