{
  "code": null,
  "collection": "architecture",
  "href": "https://banes-lab.com/ontology#architecture-batch-vs-stream",
  "id": "batch-vs-stream",
  "kind": "approach",
  "layer": {
    "href": "https://banes-lab.com/ontology/schema#layer-execution-core",
    "json": "https://banes-lab.com/json/records/layer/execution-core",
    "label": "Execution Core",
    "markdown": "https://banes-lab.com/records/layer/execution-core.md",
    "ref": "layer:execution-core"
  },
  "name": "Batch-vs-Stream",
  "ref": "architecture:batch-vs-stream",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-latency-requirement-clarity",
          "json": "https://banes-lab.com/json/records/lexicon/latency-requirement-clarity",
          "label": "Latency Requirement Clarity",
          "markdown": "https://banes-lab.com/records/lexicon/latency-requirement-clarity.md",
          "ref": "lexicon:latency-requirement-clarity"
        }
      ],
      "relation": "requires"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-fitness-for-purpose",
          "json": "https://banes-lab.com/json/records/lexicon/fitness-for-purpose",
          "label": "Fitness for Purpose",
          "markdown": "https://banes-lab.com/records/lexicon/fitness-for-purpose.md",
          "ref": "lexicon:fitness-for-purpose"
        }
      ],
      "relation": "reinforces"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-latency-appropriate-processing-model",
          "json": "https://banes-lab.com/json/records/lexicon/latency-appropriate-processing-model",
          "label": "Latency-Appropriate Processing Model",
          "markdown": "https://banes-lab.com/records/lexicon/latency-appropriate-processing-model.md",
          "ref": "lexicon:latency-appropriate-processing-model"
        }
      ],
      "relation": "enables"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-one-size-fits-all-processing",
          "json": "https://banes-lab.com/json/records/lexicon/one-size-fits-all-processing",
          "label": "One-Size-Fits-All Processing",
          "markdown": "https://banes-lab.com/records/lexicon/one-size-fits-all-processing.md",
          "ref": "lexicon:one-size-fits-all-processing"
        }
      ],
      "relation": "conflicts-with"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-operational-duplication",
          "json": "https://banes-lab.com/json/records/lexicon/operational-duplication",
          "label": "Operational Duplication",
          "markdown": "https://banes-lab.com/records/lexicon/operational-duplication.md",
          "ref": "lexicon:operational-duplication"
        }
      ],
      "relation": "tensions-with"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#tension-batch-vs-stream-operational-duplication",
          "json": "https://banes-lab.com/json/records/tension/batch-vs-stream-operational-duplication",
          "label": "Batch-vs-Stream / Operational Duplication",
          "markdown": "https://banes-lab.com/records/tension/batch-vs-stream-operational-duplication.md",
          "ref": "tension:batch-vs-stream-operational-duplication"
        }
      ],
      "relation": "tensions"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-one-size-fits-all-processing",
          "json": "https://banes-lab.com/json/records/lexicon/one-size-fits-all-processing",
          "label": "One-Size-Fits-All Processing",
          "markdown": "https://banes-lab.com/records/lexicon/one-size-fits-all-processing.md",
          "ref": "lexicon:one-size-fits-all-processing"
        }
      ],
      "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-streaming-pipeline-dataflow-processing",
          "json": "https://banes-lab.com/json/records/architecture-category/streaming-pipeline-dataflow-processing",
          "label": "Streaming / Pipeline / Dataflow Processing",
          "markdown": "https://banes-lab.com/records/architecture-category/streaming-pipeline-dataflow-processing.md",
          "ref": "architecture-category:streaming-pipeline-dataflow-processing"
        }
      ],
      "relation": "category"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-category-streaming-pipeline-dataflow-processing",
          "json": "https://banes-lab.com/json/ontology/lexicon/lexicon-category-streaming-pipeline-dataflow-processing",
          "label": "Streaming / Pipeline / Dataflow Processing",
          "markdown": "https://banes-lab.com/ontology/lexicon/lexicon-category-streaming-pipeline-dataflow-processing.md",
          "ref": "chapter:/ontology/lexicon#lexicon-category-streaming-pipeline-dataflow-processing"
        },
        {
          "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": "An approach in which the processing model, periodic batch or continuous stream, is chosen by how fresh the data must be.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology#architecture-plugin-architecture",
      "json": "https://banes-lab.com/json/records/architecture/plugin-architecture",
      "label": "Plugin Architecture",
      "markdown": "https://banes-lab.com/records/architecture/plugin-architecture.md",
      "ref": "architecture:plugin-architecture"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology#architecture-fan-out-fan-in",
      "json": "https://banes-lab.com/json/records/architecture/fan-out-fan-in",
      "label": "Fan-out/Fan-in",
      "markdown": "https://banes-lab.com/records/architecture/fan-out-fan-in.md",
      "ref": "architecture:fan-out-fan-in"
    }
  },
  "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": "fooStream.subscribe(foo => processFoo(foo));",
    "before": "schedule.daily(() => reprocessAllFoos());",
    "lang": "ts",
    "medium": "code"
  },
  "formedBy": null,
  "scope": [
    "data processing",
    "latency",
    "architecture"
  ],
  "severity": "contextual"
}
