Repository navigation
Conversation
…lanner/backend boundary
…e two Profiles and same-data measurements show the data plane's extra CPU comes from the executor's row-at-a-time data path, query-time recomputation, JSON raw fetches, the glibc allocator and one engine thread; summary kernels are 3-7% of it. Adds a ranked cause table with ASAPQuery's handling of each step, a feature matrix of both implementations, the component choice, the staged plan with targets, risks and open decisions, and the new implementation-plan rows.
… library; per-thread query engine; per-sample ingestion
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
The backend's design and its boundary with ASAPPlanner lived only in a shared draft. This puts them in the repo, next to the code.
What
docs/design/backend-on-planner-physical-dag.md: overview, architecture, the ASAPPlanner/backend boundary (responsibilities, what crosses it, rules that keep it), the SDS, the precompute and query engines, evaluation (correctness results and the benefit experiment), and the implementation plan.Two new sections before the implementation plan:
Notes
plan_installableAPI (ASAPPlanner [Feature] Add debugging logs for each components following the workflow of control plane and data plane for debugging #755). Summary identity, dedup and eviction stay in this repo's SDS.Update: execution engine
RawSampleSelector); this repo's execution engine runs the DAG with it.Arc<StateBatch>), every operator's columnar implementation, the per-sample ingestion pipeline, precompute worker threads, and the query engine (one query per thread,RwLock+Arcreads, never deep copies).