Skip to content

Investigate serializer config key: enable_json_stream_shared_compressor_buffers #1749

@jszwedko

Description

@jszwedko

Problem

The `enable_json_stream_shared_compressor_buffers` config key pre-allocates shared `bytes.Buffer` instances in the Go JSON stream serializer to reduce GC pressure. ADP uses a Rust encoder; this may be not applicable or may map to a buffer pre-allocation configuration.

This issue was split from #1686.

What needs to happen

Determine whether ADP's encoder has a configurable equivalent buffer pre-allocation, or whether this is a Go-specific optimization with no ADP analog.

Metadata

Metadata

Assignees

Labels

area/configConfiguration.effort/intermediateInvolves changes that can be worked on by non-experts but might require guidance.encoder/datadog-metricsDatadog Metrics encoder.type/investigationA potential issue that requires further investigation to quantify and categorize.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions