عرض عملي: عاصفة إعادة محاولات لا تتوقف من تلقاء نفسها
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
diagnose and break a metastable retry storm; prepares SRC-015-LAB1.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Start from the symptoms: orders failing and database CPU high, although the original slowdown ended 20 minutes ago.
- Form hypotheses (the database is still slow, a deploy broke it, a retry loop sustains load) and test each with request-rate and attempt metrics.
- Find retries at three layers multiplying traffic about 27 times.
- Planned mistake: restart the order service, and the storm resumes within a minute. Fix: shed load at the edge and disable layered retries first, then restore gradually.
- Break the loop: enable load shedding, reduce retries to the outer layer only, ramp traffic back.
- Write the follow-ups: retry budgets, jitter, shrinking timeouts, admission control.
اختبر فهمك
Why did the restart not help?
أظهر الإجابة
Clients' retries immediately recreated the overload.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.