--

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.

--

--

Nicolas Fränkel
Nicolas Fränkel

Written by Nicolas Fränkel

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

Responses (1)