This is a basic introduction of gRPC.
Benefits of gRPC
gRPC uses protocol buffers and HTTP2, which will help the service communications to be much faster, and use less resources.
Protocol Buffers vs JSON
By using protocol buffers, we can achieve faster and more efficient communication, especially for devices with slower CPUs:
- Payload Size: To store the same information, JSON object sizes are larger than protocol buffers.