Брокер сообщений
Промежуточное ПО для передачи данных между сервисами.
🌐 Термины на других языках:
A message broker allows different systems to communicate with each other asynchronously. Instead of one service calling another and waiting for a response, it sends a 'message' to the broker. The broker then delivers that message to the receiver whenever it's ready, ensuring that messages aren't lost even if a system goes offline.
graph LR
Center["Брокер сообщений"]:::main
Rel_websockets["websockets"]:::related -.-> Center
click Rel_websockets "/terms/websockets"
Rel_rabbitmq["rabbitmq"]:::related -.-> Center
click Rel_rabbitmq "/terms/rabbitmq"
Rel_websocket["websocket"]:::related -.-> Center
click Rel_websocket "/terms/websocket"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Проверка знаний
1 / 1
🧒 Простыми словами
Это секретарь, который записывает входящие звонки: если начальник занят, секретарь примет сообщение и передаст его позже.
🤓 Expert Deep Dive
Используется для построения событийно-ориентированных архитектур (EDA).