Skip to content

feat: add pzstd multi-frame snapshot support#294

Closed
joshfriend wants to merge 1 commit intojfriend/sendfile-snapshot-servingfrom
jfriend/pzstd-snapshot-support
Closed

feat: add pzstd multi-frame snapshot support#294
joshfriend wants to merge 1 commit intojfriend/sendfile-snapshot-servingfrom
jfriend/pzstd-snapshot-support

Conversation

@joshfriend
Copy link
Copy Markdown
Contributor

Add a /snapshot.tar.pzst endpoint that serves snapshots compressed with pzstd (multiple independent zstd frames). Clients can decompress frames in parallel. On cache miss the snapshot is generated on-demand with pzstd and backfilled to the cache. Stacked on #293.

@joshfriend joshfriend requested a review from a team as a code owner May 5, 2026 23:28
@joshfriend joshfriend requested review from jrobotham-square and removed request for a team May 5, 2026 23:28
@joshfriend joshfriend force-pushed the jfriend/sendfile-snapshot-serving branch from a07b3bf to bff6015 Compare May 5, 2026 23:33
@joshfriend joshfriend force-pushed the jfriend/pzstd-snapshot-support branch from 1778225 to 068bd18 Compare May 5, 2026 23:34
@joshfriend joshfriend closed this May 5, 2026
@joshfriend joshfriend force-pushed the jfriend/pzstd-snapshot-support branch from 068bd18 to 63e9b4f Compare May 5, 2026 23:35
@joshfriend joshfriend reopened this May 5, 2026
Switch from zstd to pzstd for snapshot archival. pzstd produces multiple
independent zstd frames that clients can decompress in parallel. The output
is a valid zstd stream readable by any standard zstd decoder.
@joshfriend joshfriend force-pushed the jfriend/pzstd-snapshot-support branch from 7268734 to b0d5b85 Compare May 5, 2026 23:39
@joshfriend joshfriend closed this May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant