/plushcap/analysis/temporal/temporal-improving-latency-with-eager-workflow-start

Improving Latency with Eager Workflow Start

What's this blog post about?

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

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.