Skill 1.1.12

Define stateful and stateless data transactions

Key Concepts

Stateless: each record is processed independently (format conversion, filtering, enrichment from a lookup), easy to scale and retry.

Stateful: results depend on earlier records (running totals, windows, deduplication, sessionisation). Examples: Lambda tumbling windows passing state between invocations, Managed Service for Apache Flink state, Spark Structured Streaming with checkpoints, or external state in DynamoDB.