cschleiden / go-workflows

Embedded durable workflows for Golang similar to DTFx/Cadence/Temporal
https://cschleiden.github.io/go-workflows/
MIT License
229 stars 49 forks source link

Support different queues for workflows and activities #349

Closed cschleiden closed 4 months ago

cschleiden commented 4 months ago

This will allow you to scale differently, set different number of max parallel workflows/activities per queue for example. This will also help with back-compat scenarios when rolling out new changes (e.g., worker N listens to queue A, worker N+1 with a new incompatible workflow change will listen to queue A and B with new workflows only going to B). Other systems have moved away from this model for dealing with back-compat but I think it's "good enough" for the level of complexity this library targets.

cschleiden commented 4 months ago

Implemented in #351