العروض المادية عبر الخدمات
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
build a local, query-friendly copy of another service's data and manage how stale it is.
الموضوعات المخطط لها
- Consume events from the owner and keep only the fields you need.
- Staleness is a product decision: state the acceptable lag and show timestamps if needed.
- Handle missing or out-of-order events by versioning and periodic reconciliation.
- The owner stays the source of truth; the view is disposable.
تفاصيل المخطط المبدئي
عرض عملي
Shop order page view: order id, status, last carrier event and its time, built from ShipmentDispatched events; a nightly reconciliation compares counts with FulfillCo's API.
اختبر فهمك
Who owns the data in a materialized view?
أظهر الإجابة
The source service; the view is a disposable copy.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.