Create a per family configuration that will allow us to optimize the file sizes for our different file types.#89058
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
Stats from current PR✅ No significant changes detected📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles: **437 kB** → **437 kB** ✅ -1 B81 files with content-based hashes (individual files not comparable between builds) Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
|
1750d5e to
83303ff
Compare
e3a2ff3 to
02df839
Compare
83303ff to
a974ae3
Compare
02df839 to
10766a5
Compare
a974ae3 to
9dfbd35
Compare
10766a5 to
0b20818
Compare
9dfbd35 to
9ae341f
Compare
9ae341f to
fd272b9
Compare
6d6fb80 to
0ecbfe9
Compare
fd272b9 to
4daa326
Compare
4fac530 to
cee667c
Compare
ec1dad5 to
f502c31
Compare
6cade98 to
9fe6b3c
Compare
f502c31 to
cc8a6aa
Compare
ebe3e36 to
d482259
Compare
9fe6b3c to
196ff15
Compare
sokra
left a comment
There was a problem hiding this comment.
I think it's weird to need different heuristic per family.
I think we should have heuristics that work in general and doesn't require fine-tuning.
Maybe we need a more adaptive heuristic?
We already have max entries and max data. With these we should be able to construct a heuristic that is adaptive to small vs big entries.
We might need to be more adaptive to small entry amount (e.g. infra, but this can also happen for all families as incremental builds might write only a few entries). Maybe we need to buffer to start small and grow with more entries.
…file sizes for our different file types.
d482259 to
49f013c
Compare
196ff15 to
439f2ab
Compare

Add configurable file limits to TurboPersistence
What?
Adds per-family configuration options to TurboPersistence to control when SST files are split during writes. Use this to decrease the number of SST files for TaskCache
Why?
Different keyspaces have different access patterns and data characteristics. This change allows optimizing file size limits for each family to improve performance and memory usage.