Questions tagged [resiliency]
Resiliency, also known as self-repair, is a Windows Installer concept triggering automatic repair of broken installations.
resiliency
60
questions
0
votes
0
answers
47
views
Circuit Breaker not closing after opening
I have created a circuit breaker with the following config
CircuitBreakerConfig circuitBreakerConfig = CircuitBreakerConfig.custom()
.failureRateThreshold("80f")
...
0
votes
2
answers
125
views
API level Circuit Breaker Implementation
Our current service setup has ServiceZ which calls multiple other downstream services like ServiceA, ServiceB and in turn multiple API's of these downstream services assuming ApiA1(Get), ApiA2(Post), ...
0
votes
1
answer
88
views
Resiliency against DB unavailability in SPRING-BOOT + MongoDB
I have a micro-service that captures callbacks from the payment gateway once the user completes the payment and stores it in the Database. Currently, if there is an issue with the database (DB down, ...
0
votes
0
answers
17
views
Ensuring Sub-5 Second Failover in Highly Consistent Database Architecture on AWS
I'm seeking guidance on implementing fault tolerance in a database architecture on AWS with a crucial requirement for high data consistency. While numerous strategies emphasize heightened availability,...
2
votes
0
answers
353
views
How to use SqlRetryLogicBaseProvider to retry connections during Azure SQL scaling up/down
I have an Azure SQL database, that has automatic schedules to scale up/down depending on dtu usage. During the scale up/down all connections are dropped. So I need to apply a retry logic in my ...
1
vote
0
answers
109
views
Remove SqlServerRetryingExecutionStrategy from DbContext
I have my IDbContextFactory<MyContext> in my Asp.Net Core App registered using RetryOnFailure() on my Startup.cs which adds a SqlServerRetryingExecutionStrategy.
However for a specific action in ...
1
vote
0
answers
148
views
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 ...
1
vote
3
answers
1k
views
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 ...
-1
votes
1
answer
106
views
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 ...
-1
votes
1
answer
194
views
Implement Resiliency at protocol level
We are developing Azure function in .Net6 which is interacting with multiple 3rd party application over HTTP protocol.
We have implemented Polly to handle transient errors.
The only issue with Polly ...
3
votes
2
answers
8k
views
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 ...
1
vote
1
answer
243
views
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 ...
-1
votes
1
answer
258
views
Why use AWS ELB over Route53 considering cost? [closed]
Imagine I have only two EC2 virtual machines running the same stateless workload and my priority is very high resilience, followed by cost.
Why would I choose a load balancer to share traffic between ...
0
votes
1
answer
91
views
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 ...
0
votes
1
answer
806
views
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 ...