request-reply
An interaction where the caller sends a request and waits for a single reply before continuing.
In more detail
It fits protocols such as HTTP or gRPC. Building it on a messaging system needs a reply channel plus correlation logic and adds latency.
Example
Kafka is usually the wrong tool for request-reply.Related terms
- RPC — A remote procedure call: calling a function in another program over a network as if it were a local function call.
- HTTP — The protocol web browsers and web servers use to send requests and responses.
- gRPC — A high-performance remote procedure call framework that generates client and server code from Protocol Buffers definitions and runs over HTTP/2.
- fan-out — The number of children each node of a tree can have.
Taught in
- When Kafka Is The Wrong Tool — Apache Kafka & Event Streaming