Chapter 50
Universal Patterns
Hot Path vs Cold Path
Separate real-time serving (hot) from analytics/archival (cold). Hot path uses fast in-memory stores. Cold path uses batch processing and cheap storage.
Circuit Breaker Pattern
When a downstream service is failing, stop calling it (open the circuit). Periodically test with a single request. If it succeeds, close the circuit and resume. This prevents cascading failures.
Part of the full course
Unlock this chapter
This one is part of the paid course. Everything before the interview, the free sampler articles, the Core Java drills, and mock interviews stay open either way.