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

PACELC

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

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

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

في هذا الدرس

add the trade-off CAP leaves out.

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

  • PACELC: if Partition, choose A or C; Else (normal operation), choose Latency or Consistency.
  • Synchronous replication gives stronger consistency but every write waits for replicas.
  • Asynchronous replication is faster but replicas lag.
  • This is why a read replica can return stale data on a healthy network.
  • Real products are configurable; check settings rather than slogans (verify per product before recording).
تفاصيل المخطط المبدئي

عرض عملي

SetupNormal operationDuring partition
Sync replicas, quorum writeshigher latency, consistentmay reject writes
Async read replicalow latency, may be staleserves stale reads

اختبر فهمك

Why can a healthy system still return stale reads?

أظهر الإجابة

Asynchronous replication trades consistency for latency.

التطبيق

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

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

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

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