GRPC Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
gRPC is a RPC framework that uses HTTP/2 as transport protocol and [[Protocol Buffers]] as serialization format. | gRPC is a RPC framework that uses HTTP/2 as transport protocol and [[Protocol Buffers]] as serialization format. | ||
It provides the ability to define [[API_Concepts#Overview|APIs]] - RPC services - and generate the client and server code for the services. It also offers authentication, context propagation and documentation generation. | It provides the ability to define [[API_Concepts#Overview|APIs]] - RPC services - and generate the client and server code for the services. It also offers authentication, context propagation and documentation generation. It allows for plugging in load balancing, logging and monitoring. | ||
An example of how to use gRPC and Protocol Buffers to implement a microservice API is available in Chapter 5. Synchronous Communication of [[MiGo|Microservices with Go]]. | An example of how to use gRPC and Protocol Buffers to implement a microservice API is available in Chapter 5. Synchronous Communication of [[MiGo|Microservices with Go]]. |
Revision as of 02:13, 11 May 2024
External
Internal
Overview
gRPC is a RPC framework that uses HTTP/2 as transport protocol and Protocol Buffers as serialization format.
It provides the ability to define APIs - RPC services - and generate the client and server code for the services. It also offers authentication, context propagation and documentation generation. It allows for plugging in load balancing, logging and monitoring.
An example of how to use gRPC and Protocol Buffers to implement a microservice API is available in Chapter 5. Synchronous Communication of Microservices with Go.
gRPC is part of the Cloud Native Computing Foundation (CNCF)
gRPC and Protocol Buffer Services
gRPC generates client and server code for services defined by Protocol Buffers.
See: