---
title: "Modular regression testing framework built on AWS for large-scale systems"
description: "A traffic-replay regression testing framework built on AWS captures production requests and responses, replays a sample against new code in pre-production, and gates deployments on a CloudWatch alarm over the fraction of matching outputs (typically 99.9%)."
url: "https://swe.quest/articles/modular-regression-testing-framework-built-on-aws-for-large-scale-systems-5423a76854a0e19b"
canonical: "https://aws.amazon.com/blogs/architecture/modular-regression-testing-framework-built-on-aws-for-large-scale-systems/"
source: "AWS Architecture Blog"
published: "2026-11-12"
difficulty: "medium"
kind: "Case study"
reading_minutes: 14
tags: ["testing","deployment","ci-cd","serverless","cloud"]
---

# Modular regression testing framework built on AWS for large-scale systems

A post on [AWS Architecture Blog](https://swe.quest/sources/aws-architecture.md), published 2026-11-12, 14 min read, Case study. Original: [https://aws.amazon.com/blogs/architecture/modular-regression-testing-framework-built-on-aws-for-large-scale-systems/](https://aws.amazon.com/blogs/architecture/modular-regression-testing-framework-built-on-aws-for-large-scale-systems/)

## Summary

A traffic-replay regression testing framework built on AWS captures production requests and responses, replays a sample against new code in pre-production, and gates deployments on a CloudWatch alarm over the fraction of matching outputs (typically 99.9%). Step Functions toggles a Lambda event source mapping on a DynamoDB stream, replayed requests carry simulation IDs so stateful services can skip side effects and seed randomness deterministically, and responses are reduced and normalized before comparison via CloudWatch Logs Insights. Over six months it caught five customer-impacting regressions with zero false positives, using about 5% traffic replay with 200-record batches and reserved concurrency to cap load.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- AWS Lambda and Step Functions ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- CI/CD deployment pipelines ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))
- DynamoDB Streams

## Keywords

AWS Step Functions, AWS Lambda, Amazon DynamoDB Streams, Amazon CloudWatch, CloudWatch Logs Insights, AWS CodePipeline, Amazon SNS, Amazon SQS

## Related posts

- [How Zillow runs 100 million daily notifications on AWS Step Functions](https://swe.quest/articles/how-zillow-runs-100-million-daily-notifications-on-aws-step-functions-43ac4ec68597baa8.md): AWS Architecture Blog · 2026-11-11 · Medium · 15 min read · Serverless, Communications, System design, Cloud platforms, Configuration management
  Zillow replaced more than 10 per-campaign notification generator services with a configuration-driven Campaign Orchestrator that runs each of 100M+ daily email and push notifications as a short-lived AWS Step Functions Express Workflow, calling a shared library of stateless, schema-driven content modules (the Universal Content Generator) via HTTP Invoke.
- [Automating performance tests](https://swe.quest/articles/automating-performance-tests-3c422bee8eb7f6b1.md): Supabase · 2024-02-21 · Medium · 7 min read · Testing, Performance engineering, Observability, Infrastructure as code, CI/CD
  Supabase built its performance-testing pipeline while rewriting its WebSocket-based Realtime service, starting with manual k6 load generators on AWS VMs and adding Grafana/Prometheus to diagnose loader resource exhaustion.
- [Inside Laravel Nightwatch’s Observability Pipeline: Real-Time Event Processing with Amazon MSK and ClickHouse Cloud](https://swe.quest/articles/inside-laravel-nightwatch-s-observability-pipeline-real-time-event-processing-2274d87b280c63f4.md): ClickHouse · 2025-10-08 · Easy · 5 min read · Observability, Analytics & OLAP, Queues & messaging, Cloud platforms, System design
  Laravel Nightwatch, Laravel's first-party observability platform, ingests telemetry through API Gateway and Lambda into Amazon MSK Express brokers, then streams it into ClickHouse Cloud via ClickPipes, with materialized views pre-aggregating raw JSON.
- [How OpenAI’s Performance Factory keeps ChatGPT fast](https://swe.quest/articles/how-openai-s-performance-factory-keeps-chatgpt-fast-ea2e757d7a447cda.md): OpenAI · 2026-11-19 · Medium · 15 min read · AI agents, Performance engineering, Observability, AI for coding, System design
  OpenAI's Performance Factory is a cloud-based system of Codex agents that automates performance regression handling end to end, from alert to root cause, proposed fix, and verified recovery.
- [Monitor your CI performance using Sentry](https://swe.quest/articles/monitor-your-ci-performance-using-sentry-bda7e20d9e49dda7.md): Sentry · 2026-11-10 · Medium · 4 min read · CI/CD, Observability, Developer productivity
  Sentry's tracing model can represent GitHub Actions workflows as traces, with each job's steps as spans, so slow steps and run-to-run variance show up the same way they would for an API request.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
