vtprotobuf is an alternative protobuf compiler that generates highly optimized unmarshalling code. It is an iteration on the widely used but now deprecated https://github.com/gogo/protobuf.
The outcome of this issue should be a proof of concept demonstrating that we can generate the gRPC code for the shipper using protoc-gen-go-vtproto with a measurable performance improvement over the standard protobuf compiler.
Note: We do not need to use vtprotobuf specifically if there is a better suited alternative that accomplishes the same goal of significantly improving the performance of generated code vs out of the box protoc.
vtprotobuf is an alternative protobuf compiler that generates highly optimized unmarshalling code. It is an iteration on the widely used but now deprecated https://github.com/gogo/protobuf.
Investigate using the
protoc-gen-go-vtproto
protoc plugin to generate the code for both the client and server implementations in https://github.com/elastic/elastic-agent-shipper-client.The outcome of this issue should be a proof of concept demonstrating that we can generate the gRPC code for the shipper using
protoc-gen-go-vtproto
with a measurable performance improvement over the standard protobuf compiler.Note: We do not need to use vtprotobuf specifically if there is a better suited alternative that accomplishes the same goal of significantly improving the performance of generated code vs out of the box protoc.