Overview of gRPC
Overview of gRPC
May 17, 2020
Written in March, 2020.
gRPC is the protocol using HTTP/2. For the details, please take a look for a official page. This page explains how to use it in go and how it behaves.
Types
There are some types for RPC.
- unary RPC
- server stream RPC
- client stream RPC
- bidirectional stream RPC
Using stream RPC, multiple messages can be sent on a single TCP connection.
Examples
Examples include unary RPC(SayHello) and server stream RPC(KeepReplyingHello).
Reference
Last updated on