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.
In this repository21 other files it gives its agents.
- ai-context-engineeringSkill
- ai-context-engine-productionSkill
- ai-context-engineSkill
- ai-dataset-engineeringSkill
- ai-evaluationSkill
- ai-finetuningSkill
- ai-foundation-modelsSkill
- ai-inference-optimizationSkill
- ai-multi-agent-mcpSkill
- ai-production-architectureSkill
- ai-prompt-engineeringSkill
- ai-rag-and-agentsSkill
- ai-rag-defenseSkill
- ddia-architectureSkill
- ddia-data-ethicsSkill
- ddia-data-modelingSkill
- ddia-replication-shardingSkill
- ddia-transactions-consistencySkill
- job-description-analyzerSkill
- resume-content-writerSkill
- resume-fit-scorerSkill
The file
Files
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
- Open
guidelines.mdto find the right files for your task — by task, by symptom, or via the decision tree. - Load only the files relevant to your situation; each is under 200 lines.
- Apply the knowledge to your design, code review, or implementation.
Contents
References (8 categories, 24 files)
| Category | Files | Use When |
batch-foundations | knowledge / rules / examples | Designing MapReduce/Spark jobs, joins, partitioning, fault tolerance |
batch-use-cases | knowledge / rules / examples | ETL/ELT pipelines, OLAP/lakehouse, ML feature engineering |
event-streams | knowledge / rules / examples | Picking message brokers, partitioning, consumer groups, retention |
databases-and-streams | knowledge / rules / examples | CDC, log shipping, event sourcing, dual-write hazards |
stream-processing | knowledge / rules / examples | Time semantics, windows, stream joins, fault tolerance |
data-integration | knowledge / rules / examples | Combining heterogeneous tools, derived data, reprocessing |
unbundling-databases | knowledge / rules / examples | Dataflow architectures, microservices state, application as DB |
end-to-end-correctness | knowledge / rules / examples | Idempotency, exactly-once, integrity, auditing, request IDs |
Workflows
| Task | Workflow |
| Choose batch vs stream processing architecture | workflows/choosing-batch-vs-stream.md |
| Implement CDC (change data capture) pipeline | workflows/implementing-cdc-pipeline.md |
| Design a stream processing pipeline (windows, joins, fault tolerance) | workflows/designing-stream-pipeline.md |
| Ensure exactly-once / end-to-end correctness | workflows/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)
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
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.

