Datadog
Datadog logoDatadog · Feature trail

Protobuf Serialization Performance

1 post · Jun 2017

What this trail covers

Datadog has implemented and continues to optimize the use of Protocol Buffers (protobuf) for data serialization, particularly within the Datadog Agent for extracting metrics from systems like kube-state-metrics. This involves understanding protobuf's serialization mechanisms, including handling streaming messages by prepending message size, and benchmarking its performance against other formats like plain text and Prometheus text format. The team has investigated the performance of the pure Python protobuf implementation and the benefits of using C++ extensions for significant performance gains. This work contributes to efficient data handling and reduced payload sizes for observability data.

All Datadog trails