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

عرض عملي: كتابة ADR لمخزن بيانات المراجعات

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

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

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

في هذا الدرس

write an ADR choosing the store for reviews, from evidence. Prepares MID-044-LAB1.

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

خطوة بخطوة

  1. Context: Shop expects 2 M reviews in a year, 50 writes per minute, reads by product and a rating summary, a flexible optional "attributes" part.
  2. List options: PostgreSQL (with jsonb), MongoDB, wide-column.
  3. Score them against the workload and operational cost; include the extra database cost from L03.
  4. Planned mistake: choose MongoDB because it is "good for reviews", with no numbers. Fix: attach the volume and query evidence; note that 2 M rows with these queries fit PostgreSQL easily.
  5. Write the decision, consequences, and a revisit trigger (for example "reconsider above 200 M reviews or 5 000 writes/s").

اختبر فهمك

What must an ADR contain besides the decision?

أظهر الإجابة

Context, options, consequences, and a revisit trigger.

التطبيق

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

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

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

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