Closed Christoffer-Cortes closed 5 years ago
We need to implement some sort of thread safe retry handling for our requests.
We don't want to immediately dismiss messages that don't reach REMReM.
Spring-retry Spring has a solution for a retry mechanism. CircuitBreaker pattern CircuitBreaker Spring Also look at circuit breaker pattern and the implementation by spring.
Avoid lost requests.
It could potentially put an extra burden on resources and make the system more unresponsive. This needs to be implemented carefully.
Description
We need to implement some sort of thread safe retry handling for our requests.
Motivation
We don't want to immediately dismiss messages that don't reach REMReM.
Exemplification
Spring-retry Spring has a solution for a retry mechanism. CircuitBreaker pattern CircuitBreaker Spring Also look at circuit breaker pattern and the implementation by spring.
Benefits
Avoid lost requests.
Possible Drawbacks
It could potentially put an extra burden on resources and make the system more unresponsive. This needs to be implemented carefully.