انتقل إلى المحتوى
أمين أبوزيد
SRB-005

تصميم التوافر العالي

  • 7 درس
  • 3.5 ساعة تدريب (تقدير)
في هذه الصفحة 9 موضوعات

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

نظرة عامة

الموضوعات

  • التكرار (Redundancy)
  • التخلص من الحمل (load shedding)
  • التحويل عند الفشل (failover)
  • احتواء الأعطال

تعلّم أولًا

3.5 ساعة تدريب (تقدير)

مخرجات التعلم

  1. Design redundancy at every layer and remove hidden single points of failure.
  2. Apply load shedding, admission control, and prioritization under overload.
  3. Contain faults with cells, shuffle sharding, and bulkheads at the infrastructure level.
  4. Compute composite availability and explain why dependencies cap it.

الدروس

  1. 01حسابات التوافر
  2. 02التكرار ونقاط الفشل المنفردة المخفية (SPOFs)
  3. 03التخلص من الحمل والتحكم في القبول
  4. 04العمارة القائمة على الخلايا (Cell-based)
  5. 05Shuffle sharding
  6. 06عرض عملي: التخلص من الحركة منخفضة الأولوية أثناء تخفيضات خاطفة
  7. 07عرض عملي: حساب التوافر الحقيقي لمسار الدفع من اعتمادياته

المختبر والتمارين

Lab

SRB-005-LAB1 · Availability budget

Outcomes: 1, 2, 3, 4 · Time: ~3.5 h

  1. Map checkout dependencies including FulfillCo ones and mark hard or soft.
  2. Compute composite availability with measured figures.
  3. Redesign (fallbacks, cells, bulkheads) to reach 99.95%.
  4. Run a load-shedding experiment and record results.

Acceptance: math shown; load-shedding experiment run with before/after numbers.

Exercises

IDOutcomeTask
SRB-005-EX014Compute checkout availability: 99.95%, 99.99%, 99.9%, 99.9% in series.
SRB-005-EX024Recompute when the 99.9% stock check gets a cache fallback that serves 90% of failures.
SRB-005-EX031Audit a design for hidden SPOFs and list five.
SRB-005-EX042Write the shedding priority policy for the flash sale.
SRB-005-EX053Propose a cell design for FulfillCo shipping and the routing key.
SRB-005-EX063Explain shuffle sharding to a teammate with numbers.
أظهر الحلول
  • EX01 Product about 99.74%; below 99.95% so redesign needed.
  • EX02 Effective stock failure drops to 0.01%, so about 99.99%; total about 99.83%; show the arithmetic.
  • EX03 Certificate expiry, shared config, single DNS provider, single CI pipeline, one on-call expert.
  • EX04 Protect payment confirmation and checkout of logged-in users; throttle browse; drop crawlers and recommendations first.
  • EX05 Cells by warehouse region with routing by warehouse id; rollouts cell by cell.
  • EX06 8 workers, 2 per customer: 28 pairs; chance two share both is 1/28.

Workplace evidence: an availability improvement you designed with before/after numbers.

الاختبار

Outcomes: O1 redundancy and SPOFs · O2 shedding · O3 fault containment · O4 availability math.

اختبار ذاتي لك: لا توجد درجات، ولا يُحفظ أو يُرسل أي شيء. اختر إجابة ثم تحقق منها، ويمكنك المحاولة مرة أخرى كما تشاء.

  1. 1Two 99.9% serial services give about:O4
  2. 2Parallel redundancy math assumes:O4
  3. 3Dependencies cap availability because:O4
  4. 4A hidden SPOF could be:O1
  5. 5Redundancy that is never tested:O1
  6. 6Load shedding should drop first:O2
  7. 7Admission control means:O2
  8. 8A cell is:O3
  9. 9Cells mainly limit:O3
  10. 10Shuffle sharding reduces:O3

الجزء العملي

Availability calculation problems (series, parallel, fallback) plus the lab's experiment evidence. Pass: 70% on the quiz and correct math in the lab.

أخطاء شائعة

Multiplying nines without dependency analysis; shedding that drops paying customers first.

التقييم

Availability calculation problems.

دليل من بيئة العمل

An availability improvement you designed with before/after numbers.

الصلة بالمسار الوظيفي

Enterprise resilience (SRA-006).

اكتب للبحث في المستويات والمراحل والوحدات والدروس.