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

استعادة تدفقات الأحداث والبيانات المشتقة

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

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

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

في هذا الدرس

recover Kafka and caches and rebuild stores derived from the source of truth.

الموضوعات المخطط لها

  • Identify the source of truth (the orders database) and what is derived (search index, caches, read models, analytics).
  • Kafka: replicate across zones or clusters (for example mirroring); consumer offsets need translating or resetting on failover; at-least-once replay means consumers must be idempotent.
  • Caches are rebuilt; protect the database from a cold-cache stampede during recovery.
  • Derived stores need a tested rebuild path from the source of truth and a time estimate.
تفاصيل المخطط المبدئي

عرض عملي

Table: store | source or derived | recovery method | rebuild time. Rebuild path for search: replay orders table or the event log into the index.

اختبر فهمك

Why must consumers be idempotent after failover?

أظهر الإجابة

Replays can deliver the same event again.

التطبيق

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

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

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

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