Split by execution and recovery boundaries
How to divide a serverless ETL dataflow into processing stages with suitable compute, durable handoffs, and retry-safe loading. · advanced
Extract, transform, and load are responsibilities, not a requirement to use exactly three programs. Divide work where its execution model, scaling limit, or recovery unit changes. Extraction should leave a reproducible input, transformation should produce validated output, and loading should apply that output safely to the intended destination.
Use AWS Lambda for short, bounded work such as validating an object notification or loading a limited group of keyed records. Use an AWS Glue Spark job when transformations require distributed joins, shuffles, or aggregation across a dataset. Athena executes SQL over data; it is not the managed Spark-job runtime used here. Managed Service for Apache Flink runs Flink applications, not Glue Spark jobs.
Compute scaling does not remove every bottleneck. A skewed join can overload one partition, and extra loaders can overwhelm destination write capacity. Bound work per invocation, partition distributed work deliberately, and cap loading concurrency against the destination rather than the size of the backlog.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.