What are the main components of a gRPC architecture (client, server, .proto, stubs, skeletons, runtime)?

Last updated 8 July 2026

A gRPC system is contract-first: the .proto defines the service, code generation produces client stubs and server skeletons, and the gRPC runtime handles serialization and HTTP/2 transport between them.

  • The .proto file: Declares service methods and message types; the single source of truth for both sides.

  • Stubs (client side): Generated proxy objects: calling a stub method looks like a local call but sends an RPC.

  • Skeletons / service base (server side): Generated abstract classes you implement with the real business logic.

  • Server: Hosts the service implementations, listens on a port, and dispatches incoming calls.

  • Client: Holds a channel/connection to the server and invokes methods through the stub.

  • gRPC runtime: Handles Protobuf (de)serialization, HTTP/2 framing, streaming, deadlines, metadata, and status codes.

  • https://www.youtube.com/watch?v=5YqAXWz6Fpc
  • https://techwasti.com/25-grpc-interview-questions-and-answers-for-developers
  • https://kreya.app/blog/rest-vs-grpc-which-should-you-choose/
  • https://www.vskills.in/interview-questions/grpc-interview-questions
  • https://interviewprep.org/grpc-interview-questions/
  • https://articles.shadecoder.com/grpc-vs-rest-interview-comparison-for-2026
  • https://www.geeksforgeeks.org/blogs/grpc-vs-rest/
  • https://www.secondtalent.com/interview-guide/grpc-developers/
  • https://www.youtube.com/watch?v=2w7aBrtoqAg
  • https://medium.com/coding-odyssey/grpc-with-spring-boot-deep-dive-with-interview-questions-48aa83be0ec6
  • https://www.reddit.com/r/golang/comments/1hlwzaj/question_about_grpc/
  • https://oneuptime.com/blog/post/2026-01-08-grpc-vs-rest-api-comparison/view
  • https://interviewprep.org/protocol-buffers-interview-questions/
  • https://www.remoterocketship.com/advice/10-grpc-interview-questions-and-answers-in-2023/
  • https://medium.com/@bhagyarana80/10-grpc-interceptor-ideas-that-cut-latency-bff058bb5a5c
  • https://grpc.io/docs/guides/deadlines/
  • https://www.reddit.com/r/kubernetes/comments/1gkemcc/grpc_name_resolution_and_load_balancing_on/
  • https://medium.com/system-design-interviews-simplified/system-design-mock-interview-rest-graphql-and-grpc-7a5a3964977c
  • https://www.scribd.com/document/988441763/19-REST-GraphQL-GRPC-API-Design-Contract-Strategy-Interview-Questions-Master
  • https://oneuptime.com/blog/post/2026-01-08-grpc-deadlines-timeouts/view
  • https://www.youtube.com/watch?v=FAOehTYlXWg
  • https://www.youtube.com/watch?v=V5ZiNSMDE4E
  • https://www.youtube.com/watch?v=en3Dj595Qkg
  • https://aws.amazon.com/compare/the-difference-between-grpc-and-rest/
  • https://www.youtube.com/watch?v=VTM1j_hZ7HU
  • https://www.hellointerview.com/learn/system-design/core-concepts/networking-essentials
  • https://www.youtube.com/shorts/i3tygvjz3pM
  • https://www.youtube.com/watch?v=F0ftne8H4og
  • https://dev.to/kreya/rest-vs-grpc-which-should-you-choose-for-your-next-api-4mkf
  • https://www.toptal.com/developers/grpc/grpc-vs-rest-api
  • https://medium.com/@nasmina.7898/rest-vs-grpc-interview-cheat-sheet-f6f6c1e46b88
  • https://grpc.io/docs/guides/interceptors/
  • https://learn.microsoft.com/en-us/aspnet/core/grpc/deadlines-cancellation?view=aspnetcore-10.0
All gRPC interview questions