message-broker

An intermediary computer program module that translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver.

🌐 Begriffe in anderen Sprachen:
Inhalt steht zur Übersetzung an. Die englische Version wird angezeigt.

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;

      

🧠 Wissenstest

1 / 1

🧒 Erkläre es wie einem 5-Jährigen

A message broker is like a post office. If you want to talk to your friend but they aren't home, you write a letter and give it to the post office. The post office keeps the letter safe and gives it to your friend as soon as they get back. You don't have to wait outside their house all day!

🤓 Expert Deep Dive

Message brokers enable 'Loose Coupling' between services. Popular brokers include RabbitMQ (AMQP) and Apache Kafka. They handle buffering, routing, and persistence of messages. They are the backbone of event-driven architectures and help systems handle traffic spikes without crashing.

📚 Quellen