November 29, 2019
Golang Microservices Part 1 - gRPC Communication
Summary - Setting up gRPC communication gRPC is a modern, highly-efficient method of communication between systems built by Google. gRPC uses the new and efficient HTTP/2 network protocol as well Google’s Protocol Buffers (Protobuf) method of serialization which allows for more light-weight and predictable communication. Protocol Buffers can be used with any technology stack out there; code can be generated from the .proto file for nearly every programming language available.
ProtoBuf Before setting up our server and client, we need to define the message/contract structure and service definitions using Protocol Buffers in a .proto file. If you need a guide on the protocol buffer language, you can read about it here; although the language is quite simplistic and you may be able to get away with just looking at these examples for now.
Read more