الاقتران وزمن الاستجابة والفشل
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
compare the styles on coupling, latency, and what happens when the other side is down.
الموضوعات المخطط لها
- Temporal coupling: with a synchronous call both systems must be up at the same moment.
- Data coupling: a shared file format or event schema ties both sides to the same fields.
- Latency range: API in milliseconds, events in seconds, batch in hours.
- Failure: a down API fails the caller now; a down consumer of events catches up later; a failed batch leaves yesterday's data in use.
تفاصيل المخطط المبدئي
عرض عملي
a table of styles against "if the other side is down for one hour", with Larkspur results (checkout cannot price; stock events queue; nightly file waits).
اختبر فهمك
Which style survives an ERP outage best for stock updates?
أظهر الإجابة
Asynchronous events or batch, since they queue and catch up.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.