Circuit Breaker
Circuit breaker pattern | protects systems from failures | by temporarily stopping operations | when overloaded.
Mẫu Circuit breaker | bảo vệ các hệ thống khỏi lỗi | bằng cách tạm thời dừng các hoạt động | khi bị quá tải.
Has three states: | closed (normal), | open (stopped operations), | and half-open (testing recovery).
Có ba trạng thái: | đóng (bình thường), | mở (đã dừng hoạt động), | và nửa mở (đang kiểm tra phục hồi).
Prevents cascading failures | in distributed systems.
Ngăn chặn các lỗi dây chuyền | trong các hệ thống phân tán.
Resources
- Circuit Breaker - Azure Architecture Patterns (official)
- Resilience4j - Circuit Breaker Library for Java (opensource)
- The Circuit Breaker Pattern (article)
- What is the Circuit Breaker Pattern? (video)
References
- https://roadmap.sh/backend (Node: Circuit Breaker)