feat(cost): model streaming summary resources - #331
Merged
Conversation
zzylol
force-pushed
the
feat/cost-planner-ranking
branch
from
September 2, 2026 19:28
6819666 to
9bc1660
Compare
zzylol
force-pushed
the
feat/cost-streaming-linear
branch
from
September 2, 2026 19:28
c404f5e to
e16c007
Compare
zzylol
force-pushed
the
feat/cost-streaming-linear
branch
from
September 3, 2026 02:54
e16c007 to
a6228d1
Compare
zzylol
force-pushed
the
feat/cost-planner-ranking
branch
from
September 3, 2026 02:54
9bc1660 to
39417cd
Compare
zzylol
marked this pull request as ready for review
September 3, 2026 03:17
zzylol
force-pushed
the
feat/cost-streaming-linear
branch
from
September 3, 2026 13:31
6717e03 to
640b62a
Compare
zzylol
force-pushed
the
feat/cost-planner-ranking
branch
from
September 3, 2026 16:13
4356990 to
2886b84
Compare
zzylol
force-pushed
the
feat/cost-streaming-linear
branch
from
September 3, 2026 16:25
0b8ee9f to
6875361
Compare
zzylol
force-pushed
the
feat/cost-streaming-linear
branch
from
September 3, 2026 16:29
6875361 to
a239227
Compare
zzylol
force-pushed
the
feat/cost-planner-ranking
branch
from
September 3, 2026 16:30
2886b84 to
86025bb
Compare
zzylol
force-pushed
the
feat/cost-planner-ranking
branch
from
September 3, 2026 23:54
86025bb to
fa499a1
Compare
zzylol
force-pushed
the
feat/cost-streaming-linear
branch
4 times, most recently
from
September 4, 2026 03:25
a090454 to
ddf6067
Compare
zzylol
force-pushed
the
feat/cost-streaming-linear
branch
from
September 4, 2026 04:01
ddf6067 to
e9cb271
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
At-rest query costing does not account for continuously arriving data, bootstrap work, active window state, retained state, or update multiplicity.
What
Introduce analytical evidence and CPU, peak-memory, and source-I/O formulas for incremental summary maintenance over one comparison horizon. The model uses the existing
DataArrivaland lifecycle vocabulary and fails closed when required physical evidence is absent.How
Before this PR
The analytical estimator could price at-rest query DAGs but had no representation for update-driven summary state.
After this PR
A downstream evidence provider can describe one streaming summary implementation and obtain a resource-dimensional estimate without using structural node counts.
Stack
Base: #330. The next PR adds lifecycle comparison and ranking.
Module boundary
Streaming-specific inputs live under
summary_maintenance_cost. The module adds bootstrap, arrival, active/retained-window, and summary-operation evidence on top of the shared analytical estimator over physical-operator evidence; it is not a second physical cost system.