cancel
Showing results for 
Search instead for 
Did you mean: 

Cache in Activiti

c_arunrathnakum
Champ in-the-making
Champ in-the-making
Hi there,
Is cache implemented for Databases in Activiti?
If yes,
       1> Are History details being cached?
       2> What is the default size of cache and where can we configure it?
       3> When i use API's to retrieve Data from DB, it is being retrieved from cache/DB?



Thanks,
Arun…
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Is cache implemented for Databases in Activiti?

The only thing that Activiti caches are process definition (ie the result of parsing the XML).
All the other stuff is not being cached, unless for the duration of one transaction.

Most of the data in Activiti is volatile, and not worthwhile caching. Also, when running in a cluster, having an up to date cache is complex.