## Parent - Parent issue: #5 ## Goal Allow index builds to run in parallel across shards and workers. ## Detailed tasks - [ ] **9.1 Parallel shard building** - Use rayon or async tasks to build shards concurrently. - [ ] **9.2 Distributed build mode** - Support splitting the dataset across workers. - [ ] **9.3 Merge index shards** - Combine distributed build outputs into final artifacts. - [ ] **9.4 Build scheduler** - Add CLI support via `shardlake build-index --parallel`. ## Definition of done - Local parallel builds are supported. - Distributed build outputs can be merged deterministically. - The CLI exposes a parallel build path. ## Child issue breakdown - [ ] #75 9.1 - Parallelize shard build execution - [ ] #76 9.2 - Add distributed build worker mode - [ ] #77 9.3 - Merge distributed build outputs - [ ] #78 9.4 - Add parallel build scheduler and CLI support ### Dependency summary - #77 depends on #76. - #78 depends on #75 and #77. ### Dependency graph ```text #75 #76 \ | \ #77 \ / #78 ```