Expand description
Worker-local state for compute timely instances.
Modulesยง
- error_
scan ๐ - An index peekโs walk over its error trace, the phase that runs before
PeekResultIteratorwalks the ok trace. - peek_
budget ๐ - What a worker activation may spend walking index peeks before it hands the worker back.
- peek_
metrics ๐ - What an index peek reports about the walk that answers it.
- peek_
offload ๐ - Driving an index peekโs walk away from the timely worker that owns it.
- peek_
result_ ๐iterator - Code for extracting a peek result out of compute state/an arrangement.
- peek_
scan ๐ - An index peekโs walk over the two traces that answer it, as one suspendable object.
- peek_
stash ๐ - For eligible peeks, we send the result back via the peek stash (aka persist
blob), instead of inline in
ComputeResponse.
Structsยง
- Active
Compute ๐State - A wrapper around ComputeState with a live timely worker and response channel.
- Collection
State - State maintained for a compute collection.
- Compute
State - Worker-local state that is maintained across dataflows.
- Index
Peek - An in-progress index-backed peek, and data to eventually fulfill it.
- Peek
RowIteration ๐Config - Cheap handles on the dyncfgs that bound how many rows a peek may examine.
- Peek
RowIteration ๐Tracker - Counts the rows a peek has examined on this worker and fails it once that exceeds the limit.
- Persist
Peek - An in-progress Persist peek.
- Reported
Frontiers ๐ - The frontiers we have reported to the controller for a collection.
- Sink
Token - A token that keeps a sink alive.
Enumsยง
- Peek
Status ๐ - For keeping track of the state of pending or ready peeks, and managing control flow.
- Pending
Peek - A peek against either an index or a Persist collection.
- Reported
Frontier - A frontier we have reported to the controller, or the least frontier we are allowed to report.