ميزانيات زمن الاستجابة
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
split an end-to-end target across the calls on the path.
الموضوعات المخطط لها
- Start from the user-facing target, e.g. checkout p99 under 800 ms.
- Allocate to each hop on the critical path; sequential calls add, parallel calls take the maximum.
- Budget percentiles (p99), not averages; leave margin for network and serialization.
- A call without a budget gets a timeout derived from it.
تفاصيل المخطط المبدئي
عرض عملي
a table: gateway 20 ms, order service 120 ms, inventory 150 ms, payment 350 ms, database 100 ms, margin 60 ms.
اختبر فهمك
Why budget p99 rather than the average?
أظهر الإجابة
Users and SLOs feel the tail; averages hide it.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.