---
library: "bootstrap"
slug: "FabricSharding"
name: "FabricSharding"
ref: "FabricSharding#6c36"
hash: "sema:FabricSharding#mh:SHA-256:6c36fac832745c3067e93b49cf864db89a6c79927f2e15858526ac6d6966267b"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/FabricSharding"
---

# FabricSharding

Interlocking state threads

Society · Protocols

## Mechanism

Applies [Shard](https://semahash.org/vocabularies/bootstrap/patterns/Shard.md) across orthogonal dimensions (e.g., Spatial, Temporal, Semantic). Agents subscribe only to dimensions relevant to their function ('Slices'). It enables massive [Parallelize](https://semahash.org/vocabularies/bootstrap/patterns/Parallelize.md) by decoupling [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md) into orthogonal dimensions.

## Invariants

- The dimensions sharded across are orthogonal: a key in one does not determine a key in another.
- An agent subscribes only to the dimensions its function needs.
- Each dimension's domain is orderable or partitionable.

## Parameters

- consistency_level: type=Enum, range={Eventual, Strong, Causal}, description=Cross-shard guarantees
- partition_count: type=Integer, range=[2, 256], description=Number of fabric partitions
- rebalance_threshold: type=Float, range=[0.1, 0.5], description=Imbalance triggering reshard

## Failure modes

- Cross-thread coordination latency grows with the number of dimensions a read spans.
- False orthogonality: two dimensions correlate, so partitioning by both buys no parallelism.

## Where this came from

—

## Builds on

- [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md) (references)
- [Parallelize](https://semahash.org/vocabularies/bootstrap/patterns/Parallelize.md) (references)
- [Shard](https://semahash.org/vocabularies/bootstrap/patterns/Shard.md) (references)

## Used by

- [HolographicShard](https://semahash.org/vocabularies/bootstrap/patterns/HolographicShard.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: FabricSharding#6c36
- Hash: sema:FabricSharding#mh:SHA-256:6c36fac832745c3067e93b49cf864db89a6c79927f2e15858526ac6d6966267b

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/FabricSharding
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/FabricSharding.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
