kleene-ballista
kleene over several machines through Ballista (the fork nordisk/datafusion-ballista, branch nordisk/kleene). Transport only: the rounds, the kernels, the split and the central index are kleene's core; one machine is the same code with one part.
| Piece | What it carries |
KleeneCodec |
kleene's operators in a plan, Ballista's own codec for the rest |
StepExec |
one round of one part: what arrived in, the core's step, the border sends out combined (Sends::combine, each node once with the query's add) and compact, one row per target part (rows_of, round_entries) |
CollectExec |
each woken part's answer after the rounds, in original node ids |
KleeneRules |
the scheduler's rules: a part's tasks run where its state is, on the machine the central index places it |
state |
a part's graph, split once per executor and kept for every job (hash, id blocks, or a computed split read from the store beside the set: computed:K); a query's part side between rounds |
Cluster, Prepared |
a query as one Ballista job; the central index, built from the executors' summaries of their parts (Cluster::prepare), places the sources and wakes only the parts they can reach; reach, k hops, components, shortest paths (Cluster::sssp) and the closure (Cluster::closure, 64 starts a job) |
stats |
where a job's time went, from the scheduler's REST view |
One query is one job: a recursive query whose rounds are the fork's loop (a stage per round, border sends through the Flight shuffle), ending at the first round that sends nothing.
Binaries: kleene-ballista-scheduler, kleene-ballista-executor (Ballista's own with kleene's codec and rules) and the client kleene-ballista (reach, bench).
Its own workspace (kleene's root excludes it) and publish = false while it takes the fork by git. Ballista turns on DataFusion's default features, whose async compression needs zstd's raw stream API, so this crate compiles the C zstd; kleene's default build does not.