-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
multi-stageRelated to the multi-stage query engineRelated to the multi-stage query engineobservabilityperformance
Description
- OpChain stats is a mapping from worker id to serialized map, then serialized as JSON bytes. It is very inefficient. Since we know the metadata key upfront, we can encode the metadata much more efficient. See
DataTablefor example of how v1 handles query stats - When tracing is not enabled, no need to send per worker stats. We should aggregate the stats for each stage when finishing the stage, instead of sending stats for each worker
- EOS block containing the stats are duplicated to all workers. Sending the stats to only one worker should be enough.
gortiz
Metadata
Metadata
Assignees
Labels
multi-stageRelated to the multi-stage query engineRelated to the multi-stage query engineobservabilityperformance