عرض عملي: اعتمادية مخفية اكتُشفت بحقن الأعطال
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
show an experiment exposing something the map missed.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Hypothesis: if the recommendation service is down, checkout still works.
- Inject the failure in staging.
- Observe checkout failing; trace shows a synchronous config lookup that goes through the same service.
- Planned mistake: declare the experiment a failure and stop. Fix: it succeeded, it found a weakness; record it.
- Fix by caching config locally and adding a timeout with default.
- Rerun to confirm, update the dependency map.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.