Third party vendor whose shitty API we have to use as part of our application blocks our account IN PRODUCTION without even telling us every time they have a slowdown because of course it must be us. Yeah, I didn't want to go home anywayđź–•

  • 0
    Ever heard of circuit-breakers?
    Implementing circuit-breaker commands as an adapter to call the third party.
    If your configured threshold (for instance more than 50% error responses within a minute) triggers, the circuit-breaker will open up for a configured time.
    During this timespan calls to the third party will be suppressed and your app gets a configured fallback response to deal with.

    Using this technology will prevent you from being deactivated and saves a lot of trouble ;)
Add Comment