من نتيجة الاختبار إلى نقطة الاختناق
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
find the first bottleneck with evidence.
الموضوعات المخطط لها
- Look at latency against load: where does the curve bend?
- Correlate with metrics: CPU, GC pauses, connection pool wait, DB query time, thread pool queues.
- Use profiles (flame graphs) and traces on the slow path.
- Change one thing at a time and retest.
- Name the first bottleneck; the next one only appears after you fix it.
تفاصيل المخطط المبدئي
عرض عملي
timeline: p95 rises at 400 req/s; the DB connection pool wait metric rises at the same time.
اختبر فهمك
Why change one thing at a time?
أظهر الإجابة
Otherwise you cannot tell which change helped.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.