cancel
Showing results for 
Search instead for 
Did you mean: 

How does Activiti achieve scalability

moldy
Champ in-the-making
Champ in-the-making
Can anyone describe how Activiti scales? I'm particularly interested in where application state resides and how the database can be scaled (horizontally/vertically). Are there any single points of synchronisation?
1 REPLY 1

trademak
Star Contributor
Star Contributor
Activiti is designed to be stateless for any commands against a process instance or task. So you can use multiple engine instances on one database without any problem. When you use multiple engine instances you should only decide if you want the job executor component to run on every engine instance as well. In the current default job executor every job executor will try to lock a job and execute it. We'll have a new lock free job executor coming up in the next release however.

Best regards,