Skip to content
Preptima

GraphQL & gRPC interview questions

Schema design, N+1 resolution, streaming RPC, and choosing a protocol per consumer.

4 questions in Backend Engineering.

hard4

hardScenarioDesign

You move an internal service to gRPC behind the same load balancer your REST services use, and one pod ends up serving most of the traffic. What is happening, and what do you change?

gRPC multiplexes many calls over one long-lived HTTP/2 connection, so a balancer that distributes connections pins each client to one backend for its lifetime. Balance per request with an HTTP/2-aware proxy or client-side subchannels, and bound connection age so scaling out actually moves traffic.

6 minmid, senior, staff