All Questions
Api Design medium

You're choosing between REST and gRPC for internal service-to-service calls. When is gRPC preferred?

  1. A When you need native browser support across all legacy environments without utilizing polyfills or specialized proxy libraries.
  2. B When you require high performance through binary protocols, strict contract enforcement via Protobuf, and bidirectional streaming support.
  3. C When human readability of request and response payloads is a primary requirement for debugging with standard browser dev tools.
  4. D When you want to avoid the overhead of defining a strict schema and prefer the flexibility of schema-less JSON message formats.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions