Overview
| Comment: | Delta-encode blobs and manifests on ingest and serve them verbatim as section 7.2 delta cfiles on clone: store a commit's blob (against the same path's parent blob) and manifest (against the primary parent) as a delta when it comes in materially smaller and within the write-depth cap, carry the reconstructed-target size from the delta header as the cfile USIZE rather than the container's raw-delta-length prefix, and retransmit the stored delta container byte-for-byte so a chained-corpus clone reply drops 58-87 percent while a full-form corpus is byte-identical to before. |
|---|---|
| Timelines: | family | ancestors | descendants | both | delta |
| Files: | files | file ages | folders |
| SHA3-256: |
71235bf3bec3c190cea7813ae8c2f965 |
| User & Date: | dmestas on 2026-07-16 04:47:27.206 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-07-16
| ||
| 04:50 | Use the known reconstructed size for a delta corpus artifact's USIZE instead of re-parsing the delta header: the bench just created the delta from cur, so its reconstructed target is cur and its length is the section 7.2 USIZE directly, dropping a redundant header parse. check-in: 3bdb4f96c0 user: dmestas tags: delta | |
| 04:47 | Delta-encode blobs and manifests on ingest and serve them verbatim as section 7.2 delta cfiles on clone: store a commit's blob (against the same path's parent blob) and manifest (against the primary parent) as a delta when it comes in materially smaller and within the write-depth cap, carry the reconstructed-target size from the delta header as the cfile USIZE rather than the container's raw-delta-length prefix, and retransmit the stored delta container byte-for-byte so a chained-corpus clone reply drops 58-87 percent while a full-form corpus is byte-identical to before. check-in: 71235bf3be user: dmestas tags: delta | |
| 03:57 | Serve stored cfile containers verbatim on clone: reuse each artifact's already-compressed 4.1 container instead of recompressing it on every clone reply, moving the per-clone compression cost off the serve path to ingest and cutting clone-serve time ~76% with byte-identical wire output. check-in: f4fe62b160 user: dmestas tags: trunk | |
Changes
Modified src/logstore.zig
from [0cdb0dc288]
to [57e055e359].
[diff]
Modified src/logstore_test.zig
from [81a7a05ea6]
to [2db49e5f46].
[diff]
Modified src/main.zig
from [d4472d0b2c]
to [d9ba7d021d].
[diff]
Modified src/repostate.zig
from [4d41a05110]
to [2bc7002a63].
[diff]
Modified src/repostate_test.zig
from [03e4132b06]
to [559a7f2516].
[diff]
Modified src/sync.zig
from [7cdaa4b69e]
to [b9281546d2].
[diff]
Modified src/sync_benchmark.zig
from [8892e159e5]
to [9cf13b063c].
[diff]