Temporal

Eager Workflow Start saves one database update and matching operation

info
performanceUpdated Mar 3, 2026

EWS optimization combines workflow registration and first task assignment in a single database update, eliminating the separate matching operation that associates polling workers with task queue messages. This reduces both latency and latency variation.

Technologies:
How to detect:

With EWS enabled, the server registers workflow start and assigns the first workflow task in a single DB update, bypassing the matching step that would otherwise be required.

Recommended action:

1. Understand that EWS reduces database operations from two to one for workflow start. 2. Monitor database load and latency when enabling EWS at scale. 3. Be aware that reduced matching operations mean fewer polling worker connection dependencies. 4. Consider EWS for use cases where consistent low latency is critical, as it reduces latency variation from polling connection readiness. 5. Evaluate database performance improvements after EWS deployment.