Interview Prep/SRE & Reliability/Release Engineering & Reliability Patterns

What are deadlines and deadline propagation?

AdvancedConceptRelease Engineering & Reliability Patterns
Answer

A deadline is an absolute time by which the whole request must finish. Instead of each hop having an independent timeout, the remaining budget is passed downstream (gRPC does this natively with grpc-timeout; HTTP services can use a header). Each service checks the remaining time and stops work early if it cannot finish, rather than doing work whose result nobody will receive. This prevents wasted load during slowdowns and keeps total latency bounded.

All SRE & Reliability questions

More on Release Engineering & Reliability Patterns