1

Update: Forget the 'best' way, any way to start with is good enough. I am new to this and figuring it out all by myself is taking too long. I don't even know where to start.

I am new to this and unsure where to start.

I have 5 ML models deployed as 5 microservices, each with its own Docker image. Together they form a pipeline, and the services act sequentially on the input data. Is there a way to orchestrate this using Dagster or something similar? Should I?

Currently I am activating each stage manually while developing it, but the time has come to do this in a better way.

One option is to choreograph it, where each service, when it successfully completes its steps, sends a message to the next service via the message broker to retrieve the intermediary data and continue the pipeline.

Other is to orchestrate it using Dagster or Airflow. There is also Ray and Dask and I am not sure what to do here.

I have heard software like Dagster can be good for both approaches, but I don't know how to execute this.

If I do execute this, can each service container still be scaled independently via Docker Swarm or K8s?

Some good material and suggestions will be most appreciated.

5
  • The 'best way' is largely opinion. Commented Dec 28, 2023 at 15:42
  • 1
    True. Well, any way to start with. I am new to this and figuring it out all by myself is taking too long. I don't even know where to start. Commented Dec 28, 2023 at 18:02
  • The reason I mention that is because opinion-based questions are not within the scope of this site. You can reword it to be more concrete. For example, you can focus on whether the class of orchestration tools you mention have equivalent scaling flexibility to and ESB/queue-based approach. Commented Dec 28, 2023 at 18:37
  • Thanks Jimmy. Do you have any suggestions where I should seek this info? Commented Dec 29, 2023 at 22:06
  • 1
    I would start with the docs for Dagster and Airflow. Search Google for 'scaling Dagster'. I think the kind of question you are asking might be better suited for stack overflow proper, though. Commented Dec 29, 2023 at 22:18

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.