How to implement a Celery-style chord #492
Unanswered
anthonyatp
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Taskiq team, thanks for the great project.
I’m using Taskiq as an async-friendly alternative to Celery and I’d love guidance on the idiomatic way to implement a Celery-style chord: trigger N tasks in parallel and then run a single callback only after all have finished.
Environment: RedisStreamBroker + RedisAsyncResultBackend (long TTL), FastAPI integration via taskiq_fastapi.init. I want clear behavior for retries, failures, and timeouts, and a straightforward way to aggregate results.
Here’s intent-only pseudo-code to illustrate the goal:
I have looked into taskiq-pipelines but it's unclear how I would implement something like this. The new API design for pipeline looks promising but I was wondering if there was a more short-term solution you would recommend?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions