← Sunday, October 11, 2026ArchitectureCase study

Logfire’s dynamic JSON shredding makes some queries over 1,000× faster

pydantic.dev 13 min read Editor score 8/10

Logfire’s dynamic shredding brings some queries from timeouts beyond 30 seconds to under a second by optimizing semi-structured attributes. The production example offers concrete performance lessons for systems handling high-volume telemetry.

What
Dynamic shredding is Logfire’s optimization for querying semi-structured OpenTelemetry attributes.
How
It targets semi-structured attributes; some queries are reported over 1,000× faster, with queries that timed out after 30 seconds finishing in under a second.
Why it matters
Faster attribute queries can make telemetry data more usable for engineers investigating services at scale.
stored as stored in OpenTelemetrydata Parquet files object storage
OpenTelemetry data is stored as Parquet files in object storage. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.