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

عرض عملي: خفض p99 لمسار الدفع إلى النصف بالأدلة

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

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

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

في هذا الدرس

reduce checkout p99 by profiling and fixing in order; prepares SRC-016-LAB1.

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

خطوة بخطوة

  1. Set the target and run a baseline load test at a constant rate; record percentiles.
  2. Profile under load; read the flame graph and query statistics.
  3. Fix the largest item (an N+1 query), re-run; record the new p99.
  4. Planned mistake: tune a serializer that is 4% of time first. Fix: return to the ranked list and attack the largest remaining item.
  5. Repeat until the target is met, then stop.
  6. Write the before and after report with variance and caveats.

اختبر فهمك

What guides the order of fixes?

أظهر الإجابة

Measured share of time in each step.

التطبيق

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

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

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

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