Improving Latency with Eager Workflow Start
Eager Workflow Start (EWS) is an experimental latency optimization aimed at reducing the time it takes to start a workflow. It includes the initial workflow task when there is a local worker ready to process it, targeting short-lived workflows that interact with other services using local activities. Applications include financial transactions, collaborative apps, and remote interactions with physical devices. EWS can significantly lower latency by enabling interaction between starter and worker while bypassing the server, saving time-intensive operations. However, it requires sharing a client connection between the worker and the starter, limiting them to run in the same process and share a common lifecycle.
Company
Temporal
Date published
April 29, 2024
Author(s)
Antonio Lain
Word count
1090
Language
English
Hacker News points
None found.