Expand description
In-process S/P/O + registry adapters for the waratah standalone command.
waratah start spawns partition/registry binaries and lets
ComputeNode::connect dial them.
waratah standalone opens the same PartitionService /
RegistryService types in this process and implements computeβs client
traits with direct method calls β no child processes, no gRPC, no proto
round-trip.
Every call runs on spawn_blocking: the storage methods are synchronous
RocksDB walks with no await points, so running them inline would block an
async runtime worker and make concurrent scans degenerate to sequential.
On the blocking pool they overlap exactly like the gRPC deployment.
Data-dir layout matches spawn and import --offline: {data_dir}/{repository}/s|p|o
and {data_dir}/{repository}/registry (repository is main).
StructsΒ§
- Local
Hexastore Clients - In-process hexastore clients keyed by partition axis.
- Local
Registry Clients - In-process string-registry client (one dictionary, matching the MVP).
ConstantsΒ§
- ROUTER_
VNODES π - Virtual nodes per axis β same ring density as
ComputeNode::connect.
FunctionsΒ§
- axis_
data_ πdir - broadcast_
args π - Clone the broadcast filterβs
Arcterm handle for the'staticblocking closure β no deep copy of the term list. - open_
compute - Open S/P/O + registry in this process and wrap them as a
ComputeNode. Also returns the startup cache-warm tracker:/healthgates on it until every walk finishes (or the max wait), so clients that wait on/healthdo not race a still-running warm. SPARQL routes themselves are not gated. - standalone_
backend_ πname - standalone_
hexastore_ πdescribe - standalone_
lsm π - standalone_
registry_ πdescribe