Worker Affinity with Task Queues
May 11, 20261 min read
Opens temporal.ioWhat the post covers
This post details the Temporal Validated Pattern for ensuring Activity execution on the same Worker using Worker-specific Task Queues.
- It explains how a shared queue is used to discover an available Worker's unique queue name, and how subsequent Activities are routed to that unique queue to maintain data locality for scenarios like file processing, ML model caching, and database connection pooling.
