Here's a counter-example. Let's have an e-commerce shop implemented via a microservices architecture: catalog, cart, checkout, pricing and payment.

At checkout time, we ask the pricing microservice for the final price. It's down so we fall back on the cache.

According to you, it's bad because the price might be outdated. According to the business, it's good because it's better to sell at a slightly outdated price than not sell at all.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nicolas Fränkel

Dev Advocate for Apache APISIX. Former developer and architect. Still teaching, learning and blogging.