THE DURABLE EXECUTION CONFERENCE FOR AI, BY TEMPORAL

MAY 5-7, 2026

SAN FRANCISCO, CA

_/  AGENDA  / 

SESSION DETAILS

TALK

< Back to Schedule

THU MAY 7 • 1:45 PM - 2:30 PM

NEBULA (LEVEL 2)

How We Reliably Send A Million Messages Per Request: A Temporal Workflow Deep Dive

When we moved Twilio’s million-recipient messaging system to Temporal, we thought durable execution would solve everything. Then we had our first incident and it made us rethink everything.

This talk traces the real architecture evolution: from child workflows that generated tens of thousands of Temporal actions, to long-running activities with heartbeat checkpoints, to a sliding window pattern that parallelizes work across the fleet. We’ll cover the operational gotchas that surprised us, a second service where we use entity workflows to serialize concurrent mutations, and the Temporal primitives (fairness keys, StartDelay, workflow ID dedup) that replaced custom infrastructure we thought we needed to build.

You’ll leave with patterns you can steal and the hard-won intuition for designing Temporal workflows at scale.

Parth Nagori is a Staff Software Engineer at Twilio, where he builds large-scale communication systems powered by Temporal workflows. His work focuses on designing distributed architectures that behave predictably under load and failure, while remaining simple to reason about as they grow. Outside of work, Parth spends his time playing tennis, biking, skiing, and getting outdoors whenever he can.