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

عرض عملي: مراجعة تكشف خطر فقدان البيانات بالأسئلة وحدها

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

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

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

في هذا الدرس

run a worked review in which questions lead the team to find the data-loss risk; prepares SRA-017-LAB1.

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

خطوة بخطوة

  1. The design: an order service writes to its database and then publishes an event; consumers update inventory.
  2. Ask: "what happens if the write succeeds and the process crashes before the publish?"
  3. Ask: "how would inventory know?" and "how would we find the lost event?"
  4. Planned mistake: announce "you need the outbox pattern" at the start. Fix: wait for the team's own conclusion and then confirm and discuss options.
  5. Record the finding as blocking, with the team's chosen fix and a re-review point.

عرض عملي

a timeline of the failure: write committed, crash, no event, inventory never reserves.

التطبيق

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

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

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

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