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

عرض عملي: إبقاء 120 متجرًا قادرة على البيع عند تعطل المنصة المركزية

  • الدرس 5 من 5
  • Architect
في هذا الدرس 3 موضوعات

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

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

في هذا الدرس

worked session designing offline store trading; prepares ARC-031-LAB1.

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

خطوة بخطوة

  1. List what a store needs to sell: product and price data, tax rules, payment, receipt, stock decrement.
  2. Design the store edge: local cache of catalog and prices, local queue of sales, card terminals with provider offline mode within limits.
  3. Define limits: maximum offline period and value, returns allowed or blocked, loyalty points deferred.
  4. Planned mistake: assume the store link is always up because it is redundant. Fix: treat "platform unreachable" as a normal scenario with a tested degraded mode.
  5. Design reconnection: replay the queue with idempotent sale IDs, reconcile stock and payments, and define resilience tests (cut the link in a pilot store).

التطبيق

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

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

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

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