Timeline for Circuit Breaker + Retry - Repository or Application Layer
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 7, 2019 at 1:13 | vote | accept | Jose A | ||
| Feb 6, 2019 at 22:48 | comment | added | Jose A | Awesome! Instead of adding a circuit breaker logic, will it be ok for me if I just throw an exception at the Repository and catch it at the application layer? I would then handle the error gracefully and return it to the client without problems. I'm thinking on creating some sort of middleware inside the repository so it completely ditches future attempts if it's closed (There is some Mongo logic done before inserting or retrieving objects).... Or am I going too complex? (I want this KISS) | |
| Feb 6, 2019 at 17:00 | history | answered | Ewan | CC BY-SA 4.0 |