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

هندسة SLO

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

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

نظرة عامة

الموضوعات

  • أهداف مستوى الخدمة (SLOs)
  • سياسات ميزانية الأخطاء (error budget)
  • التنبيهات

تعلّم أولًا

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

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

  1. Derive SLOs from user journeys and business commitments, including dependency SLOs.
  2. Write an error-budget policy that changes team behavior when the budget runs out.
  3. Design multi-window, multi-burn-rate alerts and tune them for precision and recall.
  4. Review SLOs periodically and retire useless ones.

الدروس

  1. 01SLOs انطلاقًا من رحلات المستخدم
  2. 02تركيب SLOs عبر الاعتماديات
  3. 03سياسات ميزانية الأخطاء
  4. 04التنبيه بمعدل الاستهلاك متعدد النوافذ (Multi-window burn-rate)
  5. 05مراجعة SLOs وتطويرها
  6. 06عرض عملي: ضبط التنبيهات المزعجة بنوافذ معدل الاستهلاك
  7. 07عرض عملي: التفاوض على سياسة ميزانية الأخطاء مع فريق المنتج

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

Lab

SRC-012-LAB1 · 99.95% for orders

Outcomes: 1–4 · Time: ~4 h Define SLIs and SLOs for the order journey consistent with the 99.95% commitment, with dependency SLOs and a composition check. Write an error-budget policy and agree it with role-played product leadership. Build multi-window burn-rate alerts and tune them by replaying recorded error data. Acceptance: alert simulation shows no pages for brief blips and fast pages for real outages.

Exercises (assessment: SLO and policy review)

IDOutcomeTask
SRC-012-EX011Define an SLI and SLO for "customer sees order confirmation": good and valid events, window, target.
SRC-012-EX021Compute the composite availability for gateway 99.99%, orders 99.95%, payment provider 99.9% in series. Is 99.95% achievable? What would you change?
SRC-012-EX032Write an error-budget policy with three thresholds, actions, and an exception process.
SRC-012-EX043Given a 99.95% SLO over 30 days, pick burn-rate rules for page and ticket and justify the windows.
SRC-012-EX053A rule pages 12 times a month, 2 for real incidents. Compute precision and propose a fix.
SRC-012-EX064Review an SLO set: one at 100% for a year, one measured inside the service, one never alerted on. Recommend actions.
أظهر الحلول
  • EX01 Good: HTTP 2xx confirmation under the latency target; valid: all order submissions excluding client errors; 30 days; 99.95%.
  • EX02 0.9999 × 0.9995 × 0.999 ≈ 0.9984, about 99.84%: not enough. Make the payment dependency soft (queue and confirm later), add retries with limits, or negotiate the dependency SLO.
  • EX03 Example: below 50% spent, normal; over 50%, risky changes need extra review; over 100%, freeze feature releases except reliability work; exception by named approver, logged.
  • EX04 Page: 14.4× over 1 h with 5 min check (about 2% budget spent); ticket: 1× over 3 days with 6 h check. Verify against your window. Long window gives significance, short gives reset.
  • EX05 Precision 2/12, about 17%. Replace with burn-rate windows or lengthen window; replay to confirm recall is kept.
  • EX06 Retire or tighten the 100% SLO; move the SLI to the edge; add alerting or drop the unused one.
  • Outcome 2 is also covered by the lab policy and Q04-Q05.

Workplace evidence: an SLO or error-budget policy adopted by your team.

الاختبار

Outcomes: O1 deriving SLOs · O2 error-budget policy · O3 burn-rate alerts · O4 SLO review.

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

  1. 1An SLI is best defined as:O1
  2. 2Where should an availability SLI ideally be measured?O1
  3. 3Three serial hard dependencies at 99.9% each give about:O1
  4. 4The error budget for a 99.95% SLO is:O2
  5. 5An error-budget policy is credible when it:O2
  6. 6Burn rate 1 means:O3
  7. 7The short window in a multi-window alert mainly:O3
  8. 8A fast-burn alert should typically:O3
  9. 9An SLO that is always 100% met and unused should be:O4
  10. 10An incident that breached no SLO suggests:O4

الجزء العملي

SLO and policy review (SRC-012 assessment): critique a given SLO set and policy, and show SRC-012-LAB1 alert simulation results. Pass: at least 8/10 on the quiz, composition arithmetic correct, and a policy with real consequences.

أخطاء شائعة

Promising more nines than dependencies allow; budgets with no consequences.

التقييم

SLO and policy review.

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

An SLO or error-budget policy adopted by your team.

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

Organization-wide reliability (STF-005).

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