DEV Community

Azizul Haque Ananto
Azizul Haque Ananto

Posted on

What is a better way to handle interdependent tasks?

I was using celery, but then realized my task depends on another one. For simplicity, let's say I was generating walking analysis for a person, gathered data from iot device. But that is dependent on gathering gyroscope values and make grouped data on different axis. So how should I do that? Should I start the second task when first one is completed? Or should I make a chain of execution? I am using celery, but I am looking for tools independent answer/suggestion.

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay