How to design an execution engine for a sequence of tasks

前端 未结 10 1985
南方客
南方客 2021-02-01 17:16

I am trying to code a problem in Java where I have to execute a bunch of tasks.

Problem

Execute a job which consists of multiple tasks and thos

10条回答
  •  一整个雨季
    2021-02-01 17:35

    Take a look at akka - http://akka.io

    using akka you create actors (event driven, concurrent entities that process messages asynchronously)

    each task can be represented as an actor (you choose when to fire it up)

    you can trigger other actors (tasks) on partial complete or full complete (actually you can trigger them whenever you want)

提交回复
热议问题