hatchet-dev / hatchet

A distributed, fault-tolerant task queue
https://hatchet.run
MIT License
3.83k stars 126 forks source link

feat: sticky workers #695

Open grutt opened 1 week ago

grutt commented 1 week ago

Description

Often it's desirable to run certain steps on workers in a certain state (i.e. memory config, loaded models, or assigned to the same worker throughout). This PR adds flexible support to define worker state as key:value pairs and specify desired state in the step definition.

For further detail, see discussion #375

Type of change

What's Changed

TODO

Related: https://github.com/hatchet-dev/hatchet-typescript/pull/213

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hatchet-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 3:51pm