Skip to main content
InterviewHubPRO
Section Overview
Q35

Question 35 of 50

Part 3: Distributed Systems, Kestrel Internals & Scalability (25 - 35)

70%
ASP.NET Core & Web API (50 Qs)•Part 3: Distributed Systems, Kestrel Internals & Scalability (25 - 35)

How does gRPC work in .NET and when is it preferred over REST?

senior LevelSystem DesigngRPCMicroservices

In Simple Words: A high-performance RPC framework using Protocol Buffers (protobuf) binary serialization over HTTP/2:

  • 7–10x faster serialization and significantly smaller payloads than JSON.
  • Strongly typed contracts via .proto files.
  • Supports bi-directional streaming.
  • Ideal for internal service-to-service microservice communication.