لماذا المراسلة
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
state what a broker adds.
الموضوعات المخطط لها
- A broker stores messages between a producer and a consumer.
- Benefits: temporal decoupling, load levelling (a queue absorbs spikes), easy fan-out, retry without the sender waiting.
- Costs: eventual consistency, duplicates, ordering questions, one more system to run.
- Shop use: after
OrderPlaced, inventory, payments, and notifications each react withoutordersknowing them. - Do not use messaging when the caller needs an immediate answer.
تفاصيل المخطط المبدئي
عرض عملي
orders publishes once; three consumers receive independently.
اختبر فهمك
Name two benefits of a broker.
أظهر الإجابة
For example decoupling in time and absorbing load spikes.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.