ما كلفتها
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
list the costs before choosing.
الموضوعات المخطط لها
- Network: calls can be slow, fail, or time out (MID-023); every call needs timeouts and retries.
- Consistency: no cross-service ACID transaction; use sagas and eventual consistency (MID-030, MID-031).
- Operations: many deployments, logs, metrics, traces, and configs to run and monitor.
- Testing and debugging span services; local development gets heavier.
- Data: no joins across services; reporting needs extra work.
- Team cost: needs platform skills and mature automation.
تفاصيل المخطط المبدئي
عرض عملي
a before/after: one method call inventory.reserve(...) becomes an HTTP call plus timeout, retry, idempotency, and a failure path.
اختبر فهمك
Which cost replaces a database transaction across services?
أظهر الإجابة
Sagas and eventual consistency.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.