1. 3

  2. 7

    Omits some pretty important advice: if you’re going to retry automatically, be damn sure the operation either failed or is idempotent. Or next week you can be the lucky author of the blog post about what happens when your billing database reverts to readonly mode, preventing any transactions from being marked paid, sending the payment service into a loop where it charges customers their monthly bill every 10 minutes for ten hours.

    1. 1

      Another advice: take care of the logs generated. Some failure condition might be perfectly normal some other are likely to highlight a problem in your external (or not) software.