What is the difference between a hard and a soft dependency?

IntermediateConceptAvailability Math
Answer

A hard (critical) dependency must work for the request to succeed: checkout cannot complete without the payment service. A soft dependency improves the response but is optional: recommendations, personalization, reviews. Soft dependencies should have short timeouts and fallbacks so their failure degrades rather than fails the request. Classifying dependencies is part of every production readiness review.

All SRE & Reliability questions

More on Availability Math