https://kreya.app/blog/grpc-deep-dive/
https://cloud.google.com/apis/design
RPC transmits data in a binary format that makes data transportation more efficient.
In Proto format, a person object can be represented as:
Person.proto
message Person {
required string name = 1;
optional int32 age = 2;
optional string city = 3;
}GENERATE gRPC CODE:
python -m grpc_tools.protoc -I../../protos --python_out=. --grpc_python_out=. ../../protos/helloworld.proto