اختبارات معيارية للنظام تتنبأ بالإنتاج
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
design load tests whose results transfer to production.
الموضوعات المخطط لها
- Model the workload: request mix, data size, think time, arrival pattern (open model, requests arrive regardless of response time).
- Closed-loop tests slow down when the system slows, hiding overload (coordinated omission); prefer a constant arrival rate with latency recorded from the intended send time.
- Use production-like data volume, resources, and dependencies (or realistic stubs with latency).
- Increase load in steps to find the saturation point; run long enough for warm-up and steady state.
تفاصيل المخطط المبدئي
عرض عملي
Test plan: workload mix, rate steps (1×, 5×, 10× forecast), duration, environment spec, pass criteria tied to SLO. Tools by role: a load generator that supports constant-rate arrivals; verify tool choices.
اختبر فهمك
Why prefer constant arrival rate?
أظهر الإجابة
Closed loops back off when the system slows, hiding the latency users would see.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.