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)