Protocol Buffers - CI/CD用語集の定義
Protocol Buffers(protobuf)は、.proto ファイルで定義されるコンパクトなバイナリのserialization formatです。各フィールドには番号と型があり、schemaは多くの言語向けに型付きコードへコンパイルされます。
なぜ重要か
protobufはJSONよりも小さくパースが速く、gRPCのデフォルトのpayloadです。そのため、gRPCサービスのCI buildでは、コンパイル前に protoc(または buf)を実行してstubを再生成します。
関連ガイド
gRPC - CI/CD Glossary DefinitiongRPC: gRPC is a high-performance remote procedure call framework that runs over HTTP/2 and serializes message…
Serialization Format - CI/CD Glossary DefinitionSerialization Format: A serialization format is the encoding used to turn in-memory data into bytes for stora…
Deserialization - CI/CD Glossary DefinitionDeserialization: Deserialization is the reverse of serialization: turning received bytes (a JSON string, a pr…