Society · Protocols

FabricSharding

Interlocking state threads

Definition

Mechanism

Applies Shard across orthogonal dimensions (e.g., Spatial, Temporal, Semantic). Agents subscribe only to dimensions relevant to their function ('Slices'). It enables massive Parallelize by decoupling State into orthogonal dimensions.

Invariants

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

Risks

Failure modes

  1. Cross-thread coordination latency grows with the number of dimensions a read spans.

  2. False orthogonality

    two dimensions correlate, so partitioning by both buys no parallelism.

Relationships

Builds on

References

Mind

Parallelize

Run subtasks simultaneously and aggregate

Infrastructure

Shard

Deterministic partitioning of state

Infrastructure

State

System condition at time T

Used by

References

Reference

Parameters

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

Identity

Ref
FabricSharding#96e1
Sema ID
sema:FabricSharding#mh:SHA-256:96e1a90c65365b0297a3090f67f2fc88422596a6efb4ecb2ad980c3d365d4216
Ring
0
Tier
2
Updated
2026-11-11
Supersedes
  • sema:FabricSharding#mh:SHA-256:7399195af56d8e2d611c2e3b004b990de8c838788156755bfeba1397080b125b
  • sema:FabricSharding#mh:SHA-256:25d27106d786155e3fda6f31260d2a56bd2e936df771d7e5d755a65676f12248
  • sema:FabricSharding#mh:SHA-256:c05779de54bf98bf74d926045c5bf864af5002a00aea3012b15553e345c5e9b3