notification – Amazon Santana https://amazonsantana.com Tue, 01 Dec 2026 21:32:19 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 https://amazonsantana.com/wp-content/uploads/2025/04/cropped-Gemini_Generated_Image_ddh89kddh89kddh8-32x32.webp notification – Amazon Santana https://amazonsantana.com 32 32 Zillow Transforms High-Volume Notification Delivery with AWS Step Functions to Power Over 100 Million Daily Messages https://amazonsantana.com/zillow-transforms-high-volume-notification-delivery-with-aws-step-functions-to-power-over-100-million-daily-messages/ https://amazonsantana.com/zillow-transforms-high-volume-notification-delivery-with-aws-step-functions-to-power-over-100-million-daily-messages/#respond Tue, 01 Dec 2026 21:32:19 +0000 https://amazonsantana.com/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.

]]>
https://amazonsantana.com/zillow-transforms-high-volume-notification-delivery-with-aws-step-functions-to-power-over-100-million-daily-messages/feed/ 0
Zillow Unveils Scalable Notification Engine Processing 100 Million Daily Messages Using AWS Step Functions https://amazonsantana.com/zillow-unveils-scalable-notification-engine-processing-100-million-daily-messages-using-aws-step-functions/ https://amazonsantana.com/zillow-unveils-scalable-notification-engine-processing-100-million-daily-messages-using-aws-step-functions/#respond Wed, 11 Nov 2026 23:32:17 +0000 https://amazonsantana.com/zillow-unveils-scalable-notification-engine-processing-100-million-daily-messages-using-aws-step-functions/ Real estate technology leader Zillow has successfully engineered and deployed a high-throughput, configuration-driven communication orchestration system capable of processing more than 100 million personalized email and push notifications daily. Developed in close collaboration with Amazon Web Services (AWS), the new infrastructure radically transforms how the company engages home shoppers by replacing fragmented, legacy microservice architectures with a unified serverless pipeline powered by AWS Step Functions Express Workflows and the Universal Content Generator (UCG).

The architectural overhaul resolves long-standing inefficiencies that previously encumbered Zillow’s product engineering teams. Historically, the company relied on more than 10 disparate microservices to drive over 20 distinct notification campaigns, ranging from saved search alerts and property updates to seller reports and custom home recommendations. Each legacy generator operated its own isolated workflow, data models, business rules, and assembly logic. As Zillow expanded its product ecosystem, this decentralized approach generated substantial engineering duplication, inconsistent user experiences, inflated operational overhead, and rigid release cycles that hindered rapid experimentation.

Architectural Evolution and Strategic Objectives

The mandate for centralization stemmed from a shifting operational trade-off within Zillow’s Comms Experience division. While initial system designs prioritized isolated scaling challenges, the proliferation of distinct products revealed that identical features were frequently reimplemented and retested across multiple campaign services. This fragmentation created high barriers to rolling out platform-wide capabilities and complicated maintenance workflows, monitoring dashboards, log aggregations, and on-call support rotations.

To overcome these roadblocks, Zillow conceptualized a centralized model governed by two primary pillars: the Campaign Orchestrator and the Universal Content Generator. The Campaign Orchestrator functions as a configuration-driven orchestration layer executing short-lived workflows on Step Functions Express Workflows. Simultaneously, the Universal Content Generator serves as a centralized library of reusable, schema-driven content modules that handle data hydration, hidden home filtration, property detail retrieval, propensity scoring, and A/B testing logic.

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

Competitive Evaluation and Technology Selection

Before committing to the AWS serverless ecosystem, Zillow’s engineering leadership conducted a comprehensive competitive evaluation of alternative workflow engines, including Temporal, Flowable, custom in-house engines, and both Standard and Express modes of AWS Step Functions. The evaluation measured platforms against four core criteria: operational reliability, total cost of ownership, development velocity, and multi-team scalability.

Open-source and self-hosted options such as Temporal and Flowable were ultimately excluded because they would have introduced an entirely new infrastructure footprint requiring

dedicated operational management, server fleets, and worker pools. This ran counter to Zillow’s primary strategic goal of reducing release and monitoring overhead. Similarly, building an in-house workflow engine offered maximum architectural control but demanded disproportionate custom lifecycle management, worker queue integrations, and monitoring overhead—estimated at roughly four times the build and maintenance effort required by AWS Step Functions.

Step Functions emerged as the definitive choice for the minimum viable product (MVP), delivering required orchestration capabilities at approximately a quarter of the anticipated build effort and ongoing maintenance cost. Furthermore, because Step Functions is entirely serverless, product engineering teams were able to initiate pilot projects instantaneously without provisioning underlying compute infrastructure.

Balancing Volume, Latency, and Cost Through Express Workflows

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

Zillow’s production workloads operate at extreme velocity. The initial deployment model scaled rapidly from an initial baseline of 14 million daily workflows to more than 100 million execution requests at peak volume, translating to thousands of individual transactions per second. Because real-time notifications require sub-second delivery to remain relevant to active home shoppers, execution latency and throughput capacity were paramount.

Comparing the operational characteristics of Step Functions Standard versus Express modes, Zillow determined that Express Workflows were uniquely suited for the high-throughput, short-lived nature of notification assembly. While Standard Workflows are optimized for durable, long-running, exactly-once orchestrated tasks lasting hours or days, Express Workflows accommodate high-frequency, short-duration tasks—completing well within the five-minute execution limit—and utilize at-least-once execution semantics paired with idempotent module calls.

To maximize cost efficiency at scale, the engineering team introduced an advanced batching mechanism within the routing layer. Rather than initiating a distinct workflow execution for every individual message, the system groups multiple notification payloads into a single batched Step Functions execution. This optimization substantially reduces total API request volume, minimizes StartExecution rate consumption, and dramatically lowers AWS billing overhead. Because batch execution runtimes scale sub-linearly relative to payload size, processing a batch of ten messages consumes roughly the same memory footprint while achieving up to a 90 percent cost reduction compared to ten individual workflow runs.

Rigorous Validation and Continuous Integration Testing

Implementing a dynamic, configuration-driven workflow architecture necessitated robust automated testing safeguards. Because a significant portion of campaign behavior is defined through declarative JSONata expressions and modular configurations, Zillow instituted strict continuous integration (CI) validation protocols.

Instead of relying on offline string evaluations, the development team utilizes the AWS Step Functions TestState API to execute unit tests against the identical runtime environment utilized in production. Shared JSONata mapping files and schema definitions are continuously validated against expected module inputs and outputs. Any malformed payload, runtime expression error, or configuration anomaly immediately halts deployment pipelines, mitigating downstream production risks while empowering non-technical stakeholders to safely modify campaign configurations.

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

Organizational Impact and Future Outlook

The deployment of the Campaign Orchestrator and UCG architecture has yielded profound organizational and technical benefits for Zillow. Product development cycles for new messaging campaigns and customer communication features have been dramatically accelerated. Rather than writing dedicated microservices or modifying multiple legacy codebases, product teams now configure campaigns declaratively using validated schemas and shared modular components.

Operational maintenance demands have also plummeted. Ongoing system maintenance overhead decreased from approximately eight hours per week to just two hours, while initial development estimates were compressed from 32 weeks down to nine weeks. Moreover, strict logical isolation guarantees that individual campaign queues operate independently via dedicated worker pools and circuit breakers, ensuring that transient traffic spikes or downstream outages within a single campaign cannot propagate across the broader messaging infrastructure.

Industry analysts note that Zillow’s implementation of a configuration-driven, serverless orchestration layer establishes a benchmark architectural pattern for modern enterprise applications processing high-volume, short-lived event streams. By leveraging native cloud primitives such as AWS Step Functions Express Workflows, EventBridge connections, and direct HTTP invocation models, organizations can achieve massive horizontal scalability without incurring the traditional operational burdens associated with self-managed distributed systems.

]]>
https://amazonsantana.com/zillow-unveils-scalable-notification-engine-processing-100-million-daily-messages-using-aws-step-functions/feed/ 0