انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهSRC-015-L08

عرض عملي: زمن استجابة سببه خنق CPU في Kubernetes

  • الدرس 8 من 8
  • Senior C
في هذا الدرس 3 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

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

في هذا الدرس

find a cross-layer cause where the app looks fine but the container is throttled; prepares SRC-015-LAB1.

تفاصيل المخطط المبدئي

خطوة بخطوة

  1. Symptom: p99 spikes in bursts while average CPU looks low.
  2. Rule out the database and GC from their metrics.
  3. Check container metrics for CPU throttling (cgroup throttled periods); correlate with latency spikes.
  4. Planned mistake: raise the JVM heap. Fix: the evidence points at CPU limits, so adjust the limit or request, and review JVM thread and GC thread counts relative to the container CPU; verify JVM container awareness for your version.
  5. Re-test and confirm the spikes disappear.

اختبر فهمك

Why can average CPU look low while throttling harms latency?

أظهر الإجابة

Throttling occurs in short bursts when the quota is used up within a period.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

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

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

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