diff options
| author | Adam Malczewski <[email protected]> | 2026-06-10 10:43:40 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-10 10:43:40 +0900 |
| commit | 3a0cdd2c8453f059a746465e3aa6d9b5caa3b399 (patch) | |
| tree | b76133d2a593ccd510673a745e5912599f850696 /GLOSSARY.md | |
| parent | 80e14ab59732aabbf06035d13138500f133e921d (diff) | |
| download | dispatch-3a0cdd2c8453f059a746465e3aa6d9b5caa3b399.tar.gz dispatch-3a0cdd2c8453f059a746465e3aa6d9b5caa3b399.zip | |
trace-store: content-addressed body dedup + retention/prune
Wave 1 of the dedup/storage-growth milestone (notes ยง12).
- bodies table is now content-addressed (SHA-256 hash key); identical verbatim
bodies (cache-warming resends, any repeat) collapse to one stored row,
referenced by hash from records. Transparent to insert/read callers.
- at-rest gzip compression for bodies >1 KiB (node:zlib), decompressed on read.
- prune(policy): age-based delete + drop-oldest byte-cap eviction + orphan-body
GC. Exports RetentionPolicy/PruneSummary/DEFAULT_RETENTION (7d / 256 MiB).
typecheck EXIT 0; biome clean; vitest 576; bun 89->100, 0 fail.
Diffstat (limited to 'GLOSSARY.md')
0 files changed, 0 insertions, 0 deletions
