{
  "code": null,
  "collection": "architecture",
  "href": "https://banes-lab.com/ontology#architecture-total-order-broadcast",
  "id": "total-order-broadcast",
  "kind": "mechanism",
  "layer": {
    "href": "https://banes-lab.com/ontology/schema#layer-causality-core",
    "json": "https://banes-lab.com/json/records/layer/causality-core",
    "label": "Causality Core",
    "markdown": "https://banes-lab.com/records/layer/causality-core.md",
    "ref": "layer:causality-core"
  },
  "name": "Total-Order Broadcast",
  "ref": "architecture:total-order-broadcast",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-consensus",
          "json": "https://banes-lab.com/json/records/architecture/consensus",
          "label": "Consensus",
          "markdown": "https://banes-lab.com/records/architecture/consensus.md",
          "ref": "architecture:consensus"
        }
      ],
      "relation": "requires"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-event-ordering",
          "json": "https://banes-lab.com/json/records/architecture/event-ordering",
          "label": "Event Ordering",
          "markdown": "https://banes-lab.com/records/architecture/event-ordering.md",
          "ref": "architecture:event-ordering"
        },
        {
          "href": "https://banes-lab.com/ontology#architecture-consistency",
          "json": "https://banes-lab.com/json/records/architecture/consistency",
          "label": "Consistency",
          "markdown": "https://banes-lab.com/records/architecture/consistency.md",
          "ref": "architecture:consistency"
        }
      ],
      "relation": "reinforces"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-identical-delivery-order-across-nodes",
          "json": "https://banes-lab.com/json/records/lexicon/identical-delivery-order-across-nodes",
          "label": "Identical Delivery Order Across Nodes",
          "markdown": "https://banes-lab.com/records/lexicon/identical-delivery-order-across-nodes.md",
          "ref": "lexicon:identical-delivery-order-across-nodes"
        }
      ],
      "relation": "enables"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-per-node-independent-ordering",
          "json": "https://banes-lab.com/json/records/lexicon/per-node-independent-ordering",
          "label": "Per-Node Independent Ordering",
          "markdown": "https://banes-lab.com/records/lexicon/per-node-independent-ordering.md",
          "ref": "lexicon:per-node-independent-ordering"
        }
      ],
      "relation": "conflicts-with"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-latency",
          "json": "https://banes-lab.com/json/records/architecture/latency",
          "label": "Latency",
          "markdown": "https://banes-lab.com/records/architecture/latency.md",
          "ref": "architecture:latency"
        }
      ],
      "relation": "tensions-with"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#tension-latency-total-order-broadcast",
          "json": "https://banes-lab.com/json/records/tension/latency-total-order-broadcast",
          "label": "Total-Order Broadcast / Latency",
          "markdown": "https://banes-lab.com/records/tension/latency-total-order-broadcast.md",
          "ref": "tension:latency-total-order-broadcast"
        }
      ],
      "relation": "tensions"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-per-node-independent-ordering",
          "json": "https://banes-lab.com/json/records/lexicon/per-node-independent-ordering",
          "label": "Per-Node Independent Ordering",
          "markdown": "https://banes-lab.com/records/lexicon/per-node-independent-ordering.md",
          "ref": "lexicon:per-node-independent-ordering"
        }
      ],
      "relation": "violated-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-severity-contextual",
          "json": "https://banes-lab.com/json/records/vocabulary/severity-contextual",
          "label": "contextual",
          "markdown": "https://banes-lab.com/records/vocabulary/severity-contextual.md",
          "ref": "vocabulary:severity-contextual"
        }
      ],
      "relation": "severity"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-category-causality-ordering-distributed-time",
          "json": "https://banes-lab.com/json/records/architecture-category/causality-ordering-distributed-time",
          "label": "Causality / Ordering / Distributed Time",
          "markdown": "https://banes-lab.com/records/architecture-category/causality-ordering-distributed-time.md",
          "ref": "architecture-category:causality-ordering-distributed-time"
        }
      ],
      "relation": "category"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-category-causality-ordering-distributed-time",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-causality-ordering-distributed-time",
          "label": "Causality / Ordering / Distributed Time",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-causality-ordering-distributed-time.md",
          "ref": "chapter:/ontology#architecture-category-causality-ordering-distributed-time"
        },
        {
          "href": "https://banes-lab.com/ontology#architecture-category-control-coordination-centralization",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-control-coordination-centralization",
          "label": "Control / Coordination / Centralization",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-control-coordination-centralization.md",
          "ref": "chapter:/ontology#architecture-category-control-coordination-centralization"
        },
        {
          "href": "https://banes-lab.com/ontology#architecture-category-scalability-performance-optimization",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-scalability-performance-optimization",
          "label": "Scalability / Performance / Optimization",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-scalability-performance-optimization.md",
          "ref": "chapter:/ontology#architecture-category-scalability-performance-optimization"
        },
        {
          "href": "https://banes-lab.com/ontology#architecture-category-transactions-state-concurrency",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-transactions-state-concurrency",
          "label": "Transactions / State / Concurrency",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-transactions-state-concurrency.md",
          "ref": "chapter:/ontology#architecture-category-transactions-state-concurrency"
        },
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-category-causality-ordering-distributed-time",
          "json": "https://banes-lab.com/json/ontology/lexicon/lexicon-category-causality-ordering-distributed-time",
          "label": "Causality / Ordering / Distributed Time",
          "markdown": "https://banes-lab.com/ontology/lexicon/lexicon-category-causality-ordering-distributed-time.md",
          "ref": "chapter:/ontology/lexicon#lexicon-category-causality-ordering-distributed-time"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-vocabulary-severity",
          "json": "https://banes-lab.com/json/ontology/schema/the-vocabulary-severity",
          "label": "Severity levels",
          "markdown": "https://banes-lab.com/ontology/schema/the-vocabulary-severity.md",
          "ref": "chapter:/ontology/schema#the-vocabulary-severity"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-resolutions",
          "json": "https://banes-lab.com/json/ontology/schema/the-resolutions",
          "label": "The resolutions",
          "markdown": "https://banes-lab.com/ontology/schema/the-resolutions.md",
          "ref": "chapter:/ontology/schema#the-resolutions"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "summary": "A mechanism that delivers every message to every node in the same order, agreed by consensus.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology#architecture-cap-theorem",
      "json": "https://banes-lab.com/json/records/architecture/cap-theorem",
      "label": "CAP Theorem",
      "markdown": "https://banes-lab.com/records/architecture/cap-theorem.md",
      "ref": "architecture:cap-theorem"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology#architecture-crdts",
      "json": "https://banes-lab.com/json/records/architecture/crdts",
      "label": "CRDTs",
      "markdown": "https://banes-lab.com/records/architecture/crdts.md",
      "ref": "architecture:crdts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/records/architecture",
    "label": "Architecture principles",
    "markdown": "https://banes-lab.com/api/records/architecture.md",
    "ref": "api:records/architecture"
  },
  "aliases": [],
  "exemplar": {
    "after": "const sequenced = await totalOrder.broadcast(event);\nreplica.applyInOrder(sequenced.sequence, sequenced.event);",
    "before": "replica.apply(event);",
    "lang": "ts",
    "medium": "code"
  },
  "formedBy": null,
  "scope": [
    "event",
    "distributed state",
    "ordering"
  ],
  "severity": "contextual"
}
