swactor/docs/development_history
Zachery Aaron Shores-Chmielewski 599678e7c9 feat: cluster test improvements; datastore pools (#45)
Introduce a gossip-converged pooled datastore protocol layered on SWIM piggybacking, backed by a reusable gossip-channel abstraction, plus a Docker-free multi-process cluster test runner.

- crates/distribution/src/gossip_channel.rs: add the GossipChannel trait (piggyback on SWIM messages) and a budget-limited DisseminationBuffer<T> that replaces the four duplicated Lambda*ceil(log2(n)) dissemination copies
- crates/datastore/src/pool: add PoolDisseminator (CRDT state for membership/capacity/content-location/ACL with join/leave/announce) and PoolCoordinator (placement-aware CRUD actor delegating to the co-located DatastoreNode)
- crates/shared-types/src/pool.rs: add shared pool protocol types (PoolId plus member/capacity/content-location/ACL entries and PoolConfig) consumed by both distribution and datastore
- crates/dashboard/src/pool_html.rs: add a live pool dashboard page (membership, capacity, content locations) and add pool_tests integration coverage
- xtask/src/sim_cluster.rs: add the sim-cluster runner that spawns N swactor nodes over iroh through a local relay server, reusing the docker cluster scenarios without Docker
- crates/distribution/src/iroh_driver.rs: add relay-URL resolution (cache, then SWIM gossip, then home relay) with a 2s connect timeout to back the relay-based connections

Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-02-20 17:30:37 +00:00
..
bin-runner refactor: consolidate crates (#39) 2026-02-13 17:34:01 +00:00
cfuzz feat(std): add supervision, router, and registries 2026-02-13 07:11:24 +00:00
ci feat: mvp ci workflow (#42) 2026-02-16 15:57:55 +00:00
datastore feat: stability for deployment and distribution (#44) 2026-02-19 14:39:33 +00:00
distribution feat: stability for deployment and distribution (#44) 2026-02-19 14:39:33 +00:00
in-browser feat: skeleton for in browser swactor engine (#35) 2026-02-13 13:27:34 +00:00
pooled-datastore feat: cluster test improvements; datastore pools (#45) 2026-02-20 17:30:37 +00:00
dashboard-improvements-research.md feat: dashboard updates (#38) 2026-02-13 14:42:10 +00:00