cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti scaling

lofi
Champ in-the-making
Champ in-the-making
I have a system with 1 application server and about 50 database schemas. Each schema has different workflows. Is that possible to use with Activiti? Or is Activiti intended to be used with only 1 database schema per server?

My question goes towards resources:

* will Activiti remain in memory for each of the 50 database schemas and hence consumes a lot of memory or is it only instantiated on demand and then after e. g. a workflow is processed the memory is freed?
* will Activiti keep the database connections open and could I be running into problems that there are no more connections?

Or are there other recommendations to set up such kind o system?

Thank you for the expertise.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
"Or is Activiti intended to be used with only 1 database schema per server?"

Activiti can be single-tenant, multi tenant with one database or multi tenant with different tenant schema's

"will Activiti remain in memory"

No, Activiti does not keep anything in memory. Only when going from a step A -> B the instance is loaded, changed and persisted again.

"will Activiti keep the database connections open"

No.

Only the job executor will regularly poll the database, but open/close the connections.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.