63 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
64
views
Disaster recovery for windows services in Azure VM
We have a bunch of windows services hosted on Azure VM.
We will eventually move to Azure function apps.
Now my question is I am concerned about disaster recovery situation when the VM is down.
What is ...
0
votes
0
answers
42
views
Resilient data processing with external api calls
I'm trying to build a little java test project to handle data coming from different sources. Let's say I want to build an app which will need to call external APIs. I receive an event and need to ...
1
vote
1
answer
594
views
What HTTP status code to return from a microservice when a required dependency service failed with retries?
Consider a software system that consists of multiple web services (perhaps microservices) communicating with one another. In the course of a certain use case, a client sends a POST web request to an ...
2
votes
1
answer
3k
views
Using .NET8, on a "HttpIOException: The response ended prematurely", how can I add retries with exponential backoff?
developing a .Net8 application and currently having a need to perform http request retries when the connection ended prematurely (see ResponseEnded here)...
I wonder if I can use resilience mechanism ...
0
votes
0
answers
126
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
451
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
261
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, ...
3
votes
1
answer
774
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
206
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
208
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
2k
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
216
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
254
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 ...
7
votes
2
answers
12k
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
269
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 ...