AnsweredAssumed Answered

Scalability of the Activiti Engine in an Enterprise environment

Question asked by ambharath on Sep 26, 2013
Latest reply on Oct 3, 2013 by ambharath
Hello All,

I have a couple of questions related to the scalability of Activiti as follows:

1) What is the best way to execute multiple process instances of a workflow? One good recommendation was from Joram in another post where he gave the usage of a Java ThreadPool executor with each thread starting & executing one process instance. Is there some other approach too?
2) In order to be able to run multiple instances running the order of, say, a million, what is the best way to come up with a configuration or design?
3) On a different track, if the Activiti Engine suddenly shuts down (due to an unforeseen reason like a power outage), once we boot up the server again, is there a provision in the API to wake up all suspended process instances and bring them back to execution? The assumption is that the process instance in this context contains async-true service tasks, user tasks & script tasks.

Can anyone kindly let me know inputs in this regard so as to give me some traction to go ahead on my own?

Outcomes