انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-030-L01

نماذج الاتساق

  • الدرس 1 من 5
  • Mid-level
في هذا الدرس 4 موضوعات

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

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

في هذا الدرس

tell the four common consistency models apart with Shop examples.

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

  • Strong (linearizable): every read sees the latest completed write, as if there were one copy. Costs latency and availability.
  • Eventual: if writes stop, all replicas converge. Reads in between may be stale.
  • Causal: if B happened because of A, nobody sees B without A (a reply never appears before its question).
  • Read-your-writes: after you write, your own reads see it, even if others lag.
  • Pick per operation, not per system.
تفاصيل المخطط المبدئي

عرض عملي

Shop caseNeeded
Decrement last unit of stockstrong (single writer)
Product page view counteventual
"My order" after checkoutread-your-writes
Comment and its replycausal

اختبر فهمك

A customer places an order and the order list does not show it. Which guarantee is missing?

أظهر الإجابة

Read-your-writes.

التطبيق

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

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

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

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