Skip to main content

RPC vs MQ

RPC: synchronous, client needs to preserve the request until the client receives response. MQ(Message Queue): asynchronous, there is no need for client to wait for the response.

RPC vs. Messaging – which is faster?

Low-latency communication of micro-services in remote, IPC and threading scenarios

RPC

IPC

IPC: (local)Inter-Process Communication

Using gRPC for (local) inter-process communication

IPC Benchmark

MQ