Stage 13: Production & System Engineering
1. Tổng quan Stage (Stage Overview)
Mục tiêu
Stage 12 dạy người học:
Thiết kế hệ thống sao cho codebase có thể phát triển.
Stage 13 đặt câu hỏi khó hơn:
Làm thế nào đưa hệ thống đó vào production, quan sát nó, phát hiện vấn đề và phục hồi khi có sự cố?
Đây là bước chuyển từ:
text
id="m4o7aw"
Software Development
↓
Software Operationsvà từ:
text
Code-centricsang:
text
System-centric2. Phạm vi Kiến thức & Mô-đun (Scope & Modules)
Stage 13 gồm 8 Modules / 41 Lessons:
text
13.1 CI/CD Engineering
13.2 Build & Release Engineering
13.3 Deployment Strategies
13.4 Feature Flags & Progressive Delivery
13.5 Observability
13.6 Reliability & Failure Management
13.7 Incident Response
13.8 Production Operations & Postmortem3. Dự án Thực hành (Stage Project)
4. Tiêu chí Hoàn thành & Đầu ra (Exit & Prerequisites)
- Điều kiện tiên quyết (Prerequisites): Hoàn thành Stage 12
- Cấp bậc đầu ra (Exit Level):
Production Telemetry & Observability Mastered (L7-L8)
Tiêu chí kiểm thử năng lực thực tế:
CI/CD
- [ ] Thiết kế CI pipeline.
- [ ] Hiểu quality gates.
- [ ] Parallelize pipeline hợp lý.
- [ ] Reproducible build.
- [ ] Artifact management.
- [ ] CI security.
Release
- [ ] Phân biệt build/release/deploy.
- [ ] Immutable artifact.
- [ ] Environment strategy.
- [ ] Release/versioning.
Deployment
- [ ] Rolling.
- [ ] Blue-green.
- [ ] Canary.
- [ ] Progressive delivery.
- [ ] Rollback vs roll-forward.
Feature Flags
- [ ] Feature flag fundamentals.
- [ ] Targeting.
- [ ] Kill switch.
- [ ] Flag lifecycle.
- [ ] Flag debt.
- [ ] Fail-open/fail-closed decision.
Observability
- [ ] Logs.
- [ ] Metrics.
- [ ] Traces.
- [ ] Percentiles.
- [ ] Correlation IDs.
- [ ] RUM.
- [ ] Error tracking.
- [ ] Actionable alerts.
- [ ] SLO awareness.
Reliability
- [ ] Failure domain.
- [ ] Partial failure.
- [ ] Graceful degradation.
- [ ] Retry risks.
- [ ] Timeout.
- [ ] Circuit breaker awareness.
- [ ] Third-party failure.
- [ ] Data consistency failure.
Incident
- [ ] Detect.
- [ ] Triage.
- [ ] Severity.
- [ ] Containment.
- [ ] Rollback/mitigation.
- [ ] Verification.
- [ ] Communication.
- [ ] Postmortem.
- [ ] Corrective actions.
Engineering
- [ ] Hoàn thành production simulation.
- [ ] Xử lý ít nhất 5 incident.
- [ ] Thực hiện rollback thật trong simulation.
- [ ] Viết postmortem.
- [ ] Viết runbook.
- [ ] Thiết kế observability cho một feature critical.