How does synchronous request/response RPC differ from asynchronous messaging via a broker, and when should each be used?

Last updated 8 July 2026

  • Synchronous RPC (e.g. gRPC unary) makes the caller wait for a response, so both services must be up at once. Use it when you need an answer now: reads, validations, queries driving the next step.

  • Async messaging via a broker (Kafka, RabbitMQ) lets the producer publish and move on while consumers process later. Use it for events, fan-out, background work, and independent scaling.

  • Trade-off: RPC is simple with immediate errors but couples availability and can cascade failures. Messaging adds resilience at the cost of eventual consistency and broker overhead.

  • https://www.matthewswong.com/en/blog/sync-vs-async-microservices-communication/
  • https://medium.com/@platform.engineers/a-deep-dive-into-communication-styles-for-microservices-rest-vs-grpc-vs-message-queues-ea72011173b3
  • https://hosseinnejati.medium.com/synchronous-vs-f92f116fd9de
  • https://instadevops.com/blog/microservices-communication-patterns-grpc-rest-message-queues/
  • https://dev.to/benyusouf/microservices-communication-patterns-when-to-use-rest-grpc-or-message-queues-2dl4
  • https://www.geeksforgeeks.org/system-design/grpc-vs-message-broker-for-microservices/
  • https://medium.com/mcmc-targeted-advertisements/choosing-between-grpc-and-kafka-7ecf5981f988
  • https://blog.devops.dev/building-robust-and-observable-microservices-with-grpc-messaging-and-open-telemetry-9c55a05e90ea
All gRPC interview questions