agentleFS
ebartiebarti/skills/ddia-batch-stream-processing/SKILL.md

ddia-batch-stream-processing

Skill1 starsChanged 6 months agoMITView on GitHub

Knowledge from "Designing Data-Intensive Applications" (Kleppmann, 2nd ed) chapters 11-13 on batch processing, stream processing, and "A Philosophy of Streaming Systems" — covering MapReduce/dataflow engines, message brokers, change data capture, stream-processing time semantics, dataflow architectures, and end-to-end correctness.

The file

Files
SKILL.md

DDIA Batch & Stream Processing

Reference for derived-data systems: how to compute, transmit, and reconcile data across batch jobs, message streams, and the heterogeneous storage tools modern applications depend on. Distilled from DDIA chapters 11 (Batch Processing), 12 (Stream Processing), and 13 (A Philosophy of Streaming Systems).

Quick Start

  1. Open guidelines.md to find the right files for your task — by task, by symptom, or via the decision tree.
  2. Load only the files relevant to your situation; each is under 200 lines.
  3. Apply the knowledge to your design, code review, or implementation.

Contents

References (8 categories, 24 files)

CategoryFilesUse When
batch-foundationsknowledge / rules / examplesDesigning MapReduce/Spark jobs, joins, partitioning, fault tolerance
batch-use-casesknowledge / rules / examplesETL/ELT pipelines, OLAP/lakehouse, ML feature engineering
event-streamsknowledge / rules / examplesPicking message brokers, partitioning, consumer groups, retention
databases-and-streamsknowledge / rules / examplesCDC, log shipping, event sourcing, dual-write hazards
stream-processingknowledge / rules / examplesTime semantics, windows, stream joins, fault tolerance
data-integrationknowledge / rules / examplesCombining heterogeneous tools, derived data, reprocessing
unbundling-databasesknowledge / rules / examplesDataflow architectures, microservices state, application as DB
end-to-end-correctnessknowledge / rules / examplesIdempotency, exactly-once, integrity, auditing, request IDs

Workflows

TaskWorkflow
Choose batch vs stream processing architectureworkflows/choosing-batch-vs-stream.md
Implement CDC (change data capture) pipelineworkflows/implementing-cdc-pipeline.md
Design a stream processing pipeline (windows, joins, fault tolerance)workflows/designing-stream-pipeline.md
Ensure exactly-once / end-to-end correctnessworkflows/ensuring-exactly-once.md

Guidelines

See guidelines.md for:

  • Task-based file selection (Pipeline Design, Event-Driven, Stream Processing, Data Architecture)
  • Symptom/question lookup ("Need to keep search index in sync", "Want exactly-once", ...)
  • Topic-based browsing (all 8 categories)
  • Decision tree (batch vs stream, broker selection, exactly-once recipe)
  • Complete file index (all 24 references)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.