{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "FabricSharding",
 "ref": "FabricSharding#6c36",
 "hash": "sema:FabricSharding#mh:SHA-256:6c36fac832745c3067e93b49cf864db89a6c79927f2e15858526ac6d6966267b",
 "stub": "6c36",
 "layer": "Society",
 "type": "Protocols",
 "summary": "Interlocking state threads",
 "mechanism": "Applies Shard#4d41 across orthogonal dimensions (e.g., Spatial, Temporal, Semantic). Agents subscribe only to dimensions relevant to their function ('Slices'). It enables massive Parallelize#53a5 by decoupling State#4f25 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": [
  {
   "name": "consistency_level",
   "type": "Enum",
   "range": "{Eventual, Strong, Causal}",
   "description": "Cross-shard guarantees"
  },
  {
   "name": "partition_count",
   "type": "Integer",
   "range": "[2, 256]",
   "description": "Number of fabric partitions"
  },
  {
   "name": "rebalance_threshold",
   "type": "Float",
   "range": "[0.1, 0.5]",
   "description": "Imbalance triggering reshard"
  }
 ],
 "signature": [],
 "preconditions": [],
 "postconditions": [],
 "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."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "FabricSharding",
 "builds_on": [
  {
   "alias": "state",
   "relation": "references",
   "library": "bootstrap",
   "slug": "State",
   "ref": "State#4f25",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/State"
  },
  {
   "alias": "parallelize",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Parallelize",
   "ref": "Parallelize#53a5",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Parallelize"
  },
  {
   "alias": "shard",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Shard",
   "ref": "Shard#4d41",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Shard"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "HolographicShard",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/HolographicShard"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/FabricSharding",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/FabricSharding.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
