Cloud Computing (AWS Focus)

Zillow Transforms High-Volume Notification Delivery with AWS Step Functions to Power Over 100 Million Daily Messages

Real estate technology leader Zillow has successfully engineered a massive architectural overhaul of its customer communication systems, transitioning to a centralized, configuration-driven orchestration framework powered by AWS Step Functions Express Workflows. Processing upwards of 100 million personalized emails and push notifications daily—including saved search alerts, tailored home recommendations, property status updates, and seller activity reports—the platform represents a critical leap forward in digital infrastructure, operational efficiency, and software engineering productivity.

For millions of home shoppers navigating the fast-paced housing market, timely digital notifications are essential touchpoints. Ensuring these high-volume notifications arrive with absolute reliability and minimal latency requires robust underlying cloud architecture. By moving from a fragmented microservice ecosystem to a unified platform, Zillow has modernized how modern real estate technology handles engagement at scale, offering a technical blueprint applicable far beyond the property sector.

The Evolution and Legacy Challenges of Zillow Communications

Historically, Zillow managed its diverse array of customer communication campaigns through more than 10 independent microservices. Each individual generator service maintained its own isolated workflow implementation, custom data models, distinct business rules, and localized assembly logic. While this decentralized approach allowed different product teams to deploy campaign-specific features rapidly during earlier phases of company growth, it ultimately created significant operational friction.

As the portfolio of email and push notifications expanded to more than 20 distinct campaign types, engineering teams found themselves repeatedly duplicating code to solve identical functional requirements. Common operations—such as retrieving user profile data, fetching property details, checking notification preferences, and assembling rich media content—were implemented separately across multiple codebases. This fragmentation caused inconsistent user experiences, escalated ongoing infrastructure overhead, and complicated monitoring, logging, and on-call support rotations. Furthermore, rolling out cross-product features required tedious, manual code modifications across numerous independent services, slowing down product delivery and experimentation.

Recognizing that rapid organizational scaling demanded architectural consolidation, the Zillow Comms Experience team initiated a comprehensive modernization project in collaboration with Amazon Web Services (AWS). The primary objective was clear: decouple business logic from underlying execution plumbing, centralize core operational capabilities, and empower product teams to launch campaigns rapidly via declarative configurations.

Strategic Architectural Evaluation and Selection

Before building the new system, Zillow conducted a rigorous competitive evaluation of potential workflow engines, measuring options against strict criteria including reliability, total cost of ownership, development speed, and multi-team scalability. The contenders included Temporal, Flowable, custom in-house workflow engines, and both Standard and Express modes of AWS Step Functions.

How Zillow runs 100 million daily notifications on AWS Step Functions | Amazon Web Services

Open-source and self-managed engines like Temporal and Flowable were ultimately ruled out because they would have introduced significant operational overhead, requiring Zillow engineers to manage and scale underlying infrastructure clusters. Building a completely proprietary in-house engine offered high customization but demanded extensive custom lifecycle management, worker pool orchestration, queue integrations, and monitoring overhead—estimated to require roughly four times the engineering effort of adopting a managed service.

AWS Step Functions emerged as the clear victor for the Minimum Viable Product (MVP) and long-term production scale. As a fully managed serverless service, Step Functions eliminated the need to provision, patch, or scale underlying worker fleets.

Furthermore, Zillow conducted a detailed analysis comparing Step Functions Standard and Express Workflows. Standard Workflows are optimized for long-running, durable orchestration requiring exactly-once execution guarantees. However, Zillow’s notification pipelines demanded massive throughput, ultra-low latency, and short execution lifespans measured in seconds. Express Workflows offered higher default start rate quotas, cost-effective pricing models suited for high-frequency invocations, and execution capabilities perfectly aligned with workflows designed around idempotent module calls.

The Architectural Transformation: Campaign Orchestrator and Universal Content Generator

The newly designed architecture centers on two foundational pillars: the Campaign Orchestrator and the Universal Content Generator (UCG).

The Campaign Orchestrator acts as a centralized configuration-driven workflow engine. Rather than embedding business logic within hardcoded application scripts, workflows are driven by static configurations paired with dynamic payload inputs. A custom-built, in-house router service polls Amazon Simple Queue Service (Amazon SQS) queues, handles intelligent batching, performs early idempotency checks, and invokes the appropriate Step Functions Express Workflow execution. This design isolates campaign controls—such as rate throttling, pausing, resuming, and event replay coordination—from the underlying workflow logic, granting engineers granular administrative capabilities without requiring state machine deployments.

Complementing the orchestrator is the Universal Content Generator (UCG), a centralized library of schema-driven, stateless content modules. Instead of housing generation logic inside siloed campaign services, all notification campaigns share the same UCG compute fleet. This shared-pool model significantly smooths out resource utilization, eliminating the idle capacity waste that previously occurred when daily campaigns ran for only a few hours and left generators dormant for the rest of the day.

UCG modules handle specialized operations such as property data hydration (retrieving current listing prices, high-resolution photographs, and geographic metadata), filtering out hidden homes based on user preferences, aggregating user propensity scores, executing A/B testing variations, and assembling final message content.

Leveraging HTTP Invoke for Direct Service Integration

How Zillow runs 100 million daily notifications on AWS Step Functions | Amazon Web Services

A pivotal design decision in the new architecture was the adoption of Step Functions HTTP Invoke to communicate directly with UCG microservices running within Zillow’s private container environment. Because UCG already operated as containerized services with established network access, service discovery, and security protocols, routing workflow tasks via HTTP Invoke added zero additional compute overhead.

Security and authentication are managed seamlessly via Amazon EventBridge connections linked to AWS Secrets Manager. API keys are injected dynamically at call time without ever exposing sensitive credentials within raw workflow definitions or application source code. When API keys require rotation, engineers update the secret once in the EventBridge connection, instantly propagating the update across all dependent workflows.

To maintain clean and readable infrastructure definitions, Zillow implemented a component inheritance pattern using customized AWS CloudFormation and Terraform templates. Common task parameters—such as HTTP methods, headers, endpoints, and connection ARNs—are defined once within a base component. Individual campaign modules then extend this base component, supplying only their unique endpoint paths. This abstraction keeps workflow definitions focused strictly on product intent rather than network infrastructure plumbing.

Advanced Optimization: High-Throughput Batching and Cost Efficiency

Operating at a scale exceeding 100 million daily workflows requires rigorous optimization of both cloud resources and API rate quotas. To maximize throughput while minimizing operational expenditures, Zillow engineered a robust batching optimization within the Campaign Orchestrator and UCG layers.

Rather than instantiating a separate workflow execution for every single user notification, the router service intelligently groups multiple pending messages into a single batched workflow execution. This approach drastically reduces the total number of StartExecution API calls and downstream HTTP requests.

Because AWS Step Functions Express Workflows bill based on execution duration and request volume, batching yields profound economic advantages. Although a batched execution runs marginally longer than a single-message execution, the proportional cost reduction is dramatic. For instance, processing a batch of ten messages in a single workflow execution reduces operational costs by approximately 90 percent compared to running ten separate workflows. Crucially, payload structures remain well within size limits, and per-message tracking identifiers ensure that individual error handling, retries, and delivery confirmations are preserved. If a single message within a batch encounters a downstream failure, the orchestration layer isolates the failure, allowing successful messages to proceed uninterrupted.

Rigorous Testing Paradigms and Continuous Integration

Configuration-driven architectures shift substantial behavioral logic into JSONata expressions and metadata configuration files, necessitating stringent validation protocols to prevent production anomalies. Zillow addressed this challenge by embedding automated unit testing directly into its Continuous Integration (CI) pipelines.

How Zillow runs 100 million daily notifications on AWS Step Functions | Amazon Web Services

Shared JSONata expressions are maintained in dedicated test suites executed via the Step Functions TestState API. Rather than relying on superficial offline string evaluations, Zillow’s CI runner simulates real Step Functions runtime execution environments, validating data transformation logic, schema compliance, and payload mapping structures prior to deployment. Any malformed expression or schema mismatch automatically blocks the deployment pipeline, ensuring high reliability across all automated campaigns.

Organizational Scalability and Product Velocity

Beyond technical performance metrics, the architectural transformation has delivered profound organizational benefits. Product and marketing teams no longer depend entirely on centralized engineering cycles to launch new communication campaigns or test novel user engagement strategies. By leveraging standardized configuration schemas, shared UCG modules, and validated JSONata patterns, product owners can independently declare new notification workflows, define A/B testing parameters, and execute targeted campaigns with unprecedented speed.

Furthermore, Zillow’s internal engineering evaluations highlight the immense efficiency gains achieved during the build phase. Developing the custom Step Functions orchestration platform required approximately 9 development weeks—a staggering 72% reduction compared to the estimated 32 weeks required to build an equivalent proprietary in-house workflow engine from scratch. Ongoing operational maintenance hours dropped correspondingly from roughly 8 hours per week to just 2 hours.

Broader Industry Implications and Technological Blueprint

Zillow’s successful migration underscores the viability of serverless orchestration frameworks for ultra-high-volume, event-driven architectures. By combining AWS Step Functions Express Workflows, direct HTTP service integration, stateless schema-driven modules, and intelligent request batching, the company has established a scalable, cost-effective standard for modern customer engagement platforms.

As enterprises across financial services, e-commerce, media, and technology grapple with the complexities of multi-channel messaging and AI-assisted content generation, Zillow’s architectural blueprint offers a clear methodology. By treating workflows as declarative configurations and decoupling orchestration logic from business execution, organizations can achieve exceptional system resilience, dramatically accelerate product velocity, and efficiently operate at planetary scale.

Related Articles

Back to top button