What is gRPC?
gRPC is an open-source remote procedure call (RPC) system originally developed by Google. It uses HTTP / 2 as Transport and Protocol Buffers as Interface Description Language (IDL). It has features like authentication and bidirectional streaming. It also works across languages and platforms.
Not necessary for the development process are JSON logic and managing HTTP status codes. Compared to REST, a client protocols log buffers to a gRPC backend server, which exchanges with other backend services in the same way. On REST, the web app HTTP speaks to the REST API in the backend, which then propagates Protocol Buffers to the other services.
Possible benefits of gRPC
According to the CNCF, the end-to-end connection of gRPC also has the advantage that client libraries only need gRPC libraries and can do without the HTTP client. In addition, the coordination between front-end and back-end teams should be much easier.
The contribution of the CNCF offers a sample application as well as an outlook on the future. An integration into popular front-end frameworks such as Angular, React and Vue as well as a development of language-specific proxies are planned.