التحقق التلقائي والتراجع
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
let metrics, not people at 2 a.m., decide whether to continue or revert.
الموضوعات المخطط لها
- Pick a few guard metrics: error rate, latency percentile, saturation, and one business metric such as orders completed.
- Compare canary against baseline over the same window, with a tolerance that accounts for noise.
- Automate the abort: a failed check reverts traffic without waiting for a human.
- Rehearse rollback; an untested rollback is a hope, not a plan.
تفاصيل المخطط المبدئي
عرض عملي
Analysis rule in words: abort if canary 5xx rate exceeds baseline by more than 0.5 points for 5 minutes, or p99 is more than 20% worse, or order completion drops below baseline minus 2%. Thresholds are examples to tune.
اختبر فهمك
Why include a business metric next to technical ones?
أظهر الإجابة
A change can return 200s yet break checkout outcomes.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.