aetelier_connect::workers::registry¶
Worker registry for fleet-level state aggregation and control. Worker registry for fleet-level state aggregation and control.
The WorkerRegistry is the single source of truth for "which workers
exist, what state are they in, and how do I talk to them." It backs the
Data Collector Workers sidebar in the dashboard.
Architecture¶
┌──────────────┐
│ Registry │
│ DashMap<id, │
│ WorkerHandle│
└──────┬───────┘
│
┌────────────────┼────────────────┐
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ WorkerHandle│ │ WorkerHandle│ │ WorkerHandle│
│ cmd_tx ────│ │ cmd_tx ────│ │ cmd_tx ────│
│ status ◄───│ │ status ◄───│ │ status ◄───│
└─────────────┘ └─────────────┘ └─────────────┘
│ │ │
▼ ▼ ▼
DataWorker MarketWorker DataWorker
Each worker holds the receiving end of a command channel and periodically
publishes its WorkerStatus through a watch channel. The registry
owns the sending halves and the watch receivers.
Skeleton API reference
This page lists the public items in aetelier_connect::workers::registry with a
one-line summary each. Signatures and source live in the SDK
repository.
Structs¶
| Item | Summary |
|---|---|
RegistryCounts |
Summary counts for the dashboard's filter tabs: ALL / LIVE / ERR / PAUSED. |
WorkerChannels |
Channel halves that the worker keeps to receive commands and publish status. |
WorkerHandle |
Control surface for a single registered worker. |
WorkerRegistry |
Central registry of all active workers. |
WorkerStatus |
Snapshot of a worker's current state, designed to be rendered directly by the dashboard sidebar. |
Enums¶
| Item | Summary |
|---|---|
WorkerCommand |
Commands that can be sent to a running worker via the registry. |