Resiliency, also known as self-repair, is a Windows Installer concept triggering automatic repair of broken installations.
Questions tagged [resiliency]
60 questions
2
votes
1 answer
Should we handle a lambda container crash?
Reading a lot about error handling for AWS Lambdas and nothing covers to topic of a running Lambda container just crashing.
Is this a possibility because it seems like one? I'm building an event driven system using Lambdas, triggered by a file…

AfterWorkGuinness
- 1,780
- 4
- 28
- 47
2
votes
0 answers
How to deal with exponential call hierarchy in Microservices Architecture?
I have the following call hierarchy in my architecture:
BFF → Microservice A → Microservice B → Anticorruption Layer → Legacy System
In each service above I am using the retry pattern to deal with HTTP resiliency while one service request a…

GuFigueiredo
- 635
- 1
- 9
- 18
2
votes
2 answers
Is @Recovery method necessary when using Spring-Retry?
My question is regarding spring-retry.
Assume a simple sample code where I have a the Service layer and Controller class.,
This is the testService Interface
public interface testService{
@Retryable(value = { KnownExceptiomn.class }, backoff =…

Vipin Menon
- 2,892
- 4
- 20
- 35
2
votes
3 answers
Entity Framework Multiple Result Sets, Azure Connection Resiliency and Command Interception
I am trying to add Connection Resiliency to my Repository class and test it in order to move my WCF service to Azure. Julie Lerman has a great post on…

mmzadeh
- 21
- 4
2
votes
1 answer
Should Hystrix replace existing JDBC/HTTP connection pools, or delegate to them?
Many applications use connection pools for both HTTP and JDBC calls for resiliency. But using and configuring these 2 types of pools is very different. This duplicates the complexity of implementing resiliency patterns that are common to both - such…

user1305156
- 201
- 1
- 10
1
vote
3 answers
Resiliency during SaveChanges in EntityFrameworkCore
I want to ensure that when I do a context.SaveChanges(), this is retried because the database might be temporarily down.
So far all I've found involves writing a lot of code that I'd then need to maintain, so is there something ready, an…

Ph3n0m
- 67
- 7
1
vote
1 answer
What are the downside of having more db connections open than required?
I have a bunch services that might have overestimated the connection pool size config , let's some of them have twice as many connections open to the db then that are actually required .
I am trying to get articulate the downside of…

redzedi
- 1,957
- 21
- 31
1
vote
2 answers
C#: Throttle/rate limit outgoing HTTP requests with Polly
I am developing an integration solution that accesses a rate limited API. I am performing a variety of CRUD operations on the API using multiple HTTP verbs on different endpoints (on the same server though). I have been pointed towards Polly…

Aileron79
- 523
- 5
- 27
1
vote
1 answer
If RPC node crashes in private Ethereum network, transactions in mempool might be lost?
In a private Ethereum network, transactions get submitted to the network via a single RPC node. If the RPC node crashes at some point, is there a possibility of loss of transactions that are in its mempool and haven't been propagated yet to the…

AndCode
- 384
- 1
- 10
1
vote
2 answers
Polly CircuitBreaker change HttpClient baseaddress while circuit broken to continue execution of requests
WHAT DO I HAVE NOW?
Currently, I have a client configured with a RetryAsync policy that uses a primary address and on failure switches to a failover address. The connection details are read from a secrets manager.
services
.AddHttpClient…

Vergil C.
- 1,046
- 2
- 15
- 28
1
vote
1 answer
WaitRetryForever is not working for a customexception in Polly.Net Resiliency
I have the following Retry and Circuit Breaker policies:
var waitAndRetryPolicy = Policy
.Handle(e => e is MycustomException)
.WaitAndRetryForeverAsync(
attempt => TimeSpan.FromMilliseconds(500),
(exception,…

Yashwanth Kata
- 817
- 8
- 21
1
vote
1 answer
Maximum number of retries using DecorrelatedJitterBackoff
I am using polly DecorrelatedJitterBackoff policy for retrying the http request. My use case is some thing like when the timeSpan reaches 300 seconds it should retry int.maximum number of times for every 300 seconds.
I am trying to achieve this…

Pooja P N
- 57
- 1
- 6
1
vote
1 answer
Kinesis Producer callback functions - guaranteed delivery?
Streaming to Kinesis billions of messages a day.
We're looking for an implementation that would allow us to deliver messages to Kinesis with exactly-once guarantee.
Our producer framework requires a streaming sink to be idempotent for exactly-once…

Tagar
- 13,911
- 6
- 95
- 110
1
vote
1 answer
Overriding the HttpClientFactory policies defined with Polly
From .net Core 2+ MS gave us a way to add policies to the HttpClient that will work as long as the client is injected through the IOC container. But this led me to a doubt I can't seem to figure out while endlessly googling. What if we want to…

Gonçalo Castilho
- 21
- 1
- 6
1
vote
0 answers
nodejs server recovering from crash
I'm attempting to build resilient and fault-tolerant services, As a test, I'm intentionally causing it to crash with an undefined variable outside the try-catch block.
I'm calling this service locally via nodejs http client, first I intentionally…

AppDeveloper
- 1,816
- 7
- 24
- 49