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

الأداء على نطاق واسع

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

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

نظرة عامة

الموضوعات

  • التنبؤ بالسعة
  • نمذجة أحمال العمل
  • تحسين التكلفة مقابل الأداء

تعلّم أولًا

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

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

  1. Forecast capacity across many services from business drivers.
  2. Build workload models that represent real traffic mixes, including new products (marketplace sellers).
  3. Optimize cost and performance together (cost per transaction at target latency).
  4. Set performance budgets for teams and track them.

الدروس

  1. 01السعة على مستوى مجال المنتج
  2. 02التنبؤ انطلاقًا من محركات الأعمال
  3. 03نمذجة أحمال العمل
  4. 04تحسين التكلفة مقابل الأداء
  5. 05ميزانيات الأداء للفرق
  6. 06عرض عملي: التنبؤ بحمل إطلاق السوق
  7. 07عرض عملي: مبادلة 10 ms من زمن الاستجابة بخفض التكلفة 25%

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

Lab

SRA-007-LAB1 · Three-year forecast

Outcomes: 1–4 · Time: ~2 h

  1. Collect business drivers for Commerce 2030: orders, sellers, listings, countries, campaigns.
  2. Measure or assume load ratios per driver and build a workload model including marketplace shapes.
  3. Produce a three-year capacity forecast with low, base, and high cases.
  4. Compute cost per order at target latency for each year and propose optimizations.
  5. Set performance budgets for three teams on the checkout path.

Acceptance: assumptions explicit; sensitivity to growth rate shown.

Exercises (case-based; six exercises)

IDOutcomeTask
SRA-007-EX011Orders double yearly. Given requests per order for six services, forecast peak requests per second for two years and identify the first bottleneck.
SRA-007-EX021Add sensitivity: show the effect of 1.5x and 3x annual growth on the forecast and on cost.
SRA-007-EX032Build a workload model for seller bulk uploads and inventory sync and state how you would validate it.
SRA-007-EX042Explain why a load test with only buyer traffic would miss risks at marketplace launch.
SRA-007-EX053Choose among three optimizations (cache, batching, right-sizing) by cost per order at target latency; justify the pick.
SRA-007-EX064Split an 800 ms checkout budget among five teams, define tracking, and describe what happens when a team exceeds its share.
أظهر الحلول
  • EX01 Multiply orders by ratio per service, apply a peak-to-average factor and headroom; the service with the highest load-to-capacity ratio goes first, often the one that scales worst (state your numbers and assumptions).
  • EX02 Run the same model with each rate; show how the bottleneck date and capacity spend move; highlight the decision that changes first.
  • EX03 Rates by seller count and listing size, burst patterns (batch windows), payload sizes; validate with synthetic load tests, analog data from similar platforms, and early production seller data.
  • EX04 Buyer traffic is read-heavy and spread; sellers add write bursts and indexing load, shifting bottlenecks to ingestion, search indexing, and storage.
  • EX05 Compute savings and latency effect per option; pick the one with lowest cost per order meeting the target and with acceptable complexity; verify by measurement.
  • EX06 Example: gateway 50 ms, pricing 100 ms, inventory 150 ms, payment 350 ms, remaining 150 ms; dashboards per team; exceeding triggers a plan or a budget renegotiation, not blame.

Outcome 4 is also covered by the lab budgets and the quiz.

Workplace evidence: a capacity forecast used in budgeting.

الاختبار

Outcomes: O1 capacity forecasting · O2 workload modeling · O3 cost-performance optimization · O4 performance budgets.

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

  1. 1Why plan capacity along the whole request path?O1
  2. 2The best basis for a three-year load forecast is:O1
  3. 3Showing low, base, and high cases is useful because:O1
  4. 4A marketplace adds which new traffic shape?O2
  5. 5Workload models are best validated by:O2
  6. 6For a new product with no history, the model should use:O2
  7. 7A common measure combining cost and performance is:O3
  8. 8Before accepting a saving that adds 10 ms latency, you should:O3
  9. 9A performance budget gives each team:O4
  10. 10A team that exceeds its budget should:O4

الجزء العملي

Six case exercises SRA-007-EX01 to EX06 plus the lab, reviewed as a capacity forecast. Pass: at least five of six exercises correct, quiz at least 8/10, and a forecast with explicit assumptions, growth sensitivity, and cost per order at target latency per year.

أخطاء شائعة

Linear extrapolation; ignoring new traffic shapes from new products.

التقييم

Forecast review.

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

A capacity forecast used in budgeting.

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

Cost architecture (ARC-021).

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