Брокер повідомлень (Message Broker)
Інструмент для асинхронного обміну даними між системами.
🌐 Терміни іншими мовами:
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["Брокер повідомлень (Message Broker)"]:::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
🧒 Простими словами
Брокер повідомлень — це як поштове відділення. Якщо ти хочеш поговорити з другом, але його немає вдома, ти пишеш листа і віддаєш на пошту. Пошта тримає лист у безпеці і віддає другу, як тільки він повернеться. Тобі не треба чекати під його дверима весь день!