<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Activiti database cache in clustered environment  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-database-cache-in-clustered-environment/m-p/18904#M8364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you're specifically thinking about making changes to a process definition and not about deploying a new version. Deploying a new version should be fine as that's effectively a new definition. Presumably what you're concerned about is the caching on process definitions -&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#processDefinitionCacheConfiguration" title="https://www.activiti.org/userguide/#processDefinitionCacheConfiguration" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp; It might make sense to set the cache size&amp;nbsp;as low as possible (which I think might be 1 as zero looks like it would be interpreted as unlimited &lt;A class="link-titled" href="https://github.com/Activiti/Activiti/blob/ac55f68fae3d3518313eda7fa992293b41ff8e6e/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/ProcessEngineConfigurationImpl.java" title="https://github.com/Activiti/Activiti/blob/ac55f68fae3d3518313eda7fa992293b41ff8e6e/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/ProcessEngineConfigurationImpl.java" rel="nofollow noopener noreferrer"&gt;Activiti/ProcessEngineConfigurationImpl.java at ac55f68fae3d3518313eda7fa992293b41ff8e6e · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;) or plugging in your own cache implementation (there's an example in &lt;A class="link-titled" href="https://github.com/Activiti/Activiti/blob/126e89911d49c6ec0ab3f222baeea2a256e24c0d/activiti-engine/src/test/java/org/activiti/standalone/deploy/CustomDeploymentCache.java" title="https://github.com/Activiti/Activiti/blob/126e89911d49c6ec0ab3f222baeea2a256e24c0d/activiti-engine/src/test/java/org/activiti/standalone/deploy/CustomDeploymentCache.java" rel="nofollow noopener noreferrer"&gt;Activiti/CustomDeploymentCache.java at 126e89911d49c6ec0ab3f222baeea2a256e24c0d · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;) if you're planning on making dynamic changes in a clustered environment. If so&amp;nbsp;it would be good to hear more about your use-case and why you expect to need this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 16:22:55 GMT</pubDate>
    <dc:creator>ryandawson</dc:creator>
    <dc:date>2018-03-22T16:22:55Z</dc:date>
    <item>
      <title>Activiti database cache in clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-database-cache-in-clustered-environment/m-p/18903#M8363</link>
      <description>I am planning to run Activiti in a clustered environment. If I update a BPM model in one of the Activiti instance, would it reflect immediately on the 2nd instance? My worry is that the 2nd instance of Activiti might just continue to use the cached process model unaware of the changes in the model m</description>
      <pubDate>Thu, 22 Mar 2018 13:13:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-database-cache-in-clustered-environment/m-p/18903#M8363</guid>
      <dc:creator>chagantiforyou</dc:creator>
      <dc:date>2018-03-22T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti database cache in clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-database-cache-in-clustered-environment/m-p/18904#M8364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you're specifically thinking about making changes to a process definition and not about deploying a new version. Deploying a new version should be fine as that's effectively a new definition. Presumably what you're concerned about is the caching on process definitions -&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#processDefinitionCacheConfiguration" title="https://www.activiti.org/userguide/#processDefinitionCacheConfiguration" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp; It might make sense to set the cache size&amp;nbsp;as low as possible (which I think might be 1 as zero looks like it would be interpreted as unlimited &lt;A class="link-titled" href="https://github.com/Activiti/Activiti/blob/ac55f68fae3d3518313eda7fa992293b41ff8e6e/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/ProcessEngineConfigurationImpl.java" title="https://github.com/Activiti/Activiti/blob/ac55f68fae3d3518313eda7fa992293b41ff8e6e/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/ProcessEngineConfigurationImpl.java" rel="nofollow noopener noreferrer"&gt;Activiti/ProcessEngineConfigurationImpl.java at ac55f68fae3d3518313eda7fa992293b41ff8e6e · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;) or plugging in your own cache implementation (there's an example in &lt;A class="link-titled" href="https://github.com/Activiti/Activiti/blob/126e89911d49c6ec0ab3f222baeea2a256e24c0d/activiti-engine/src/test/java/org/activiti/standalone/deploy/CustomDeploymentCache.java" title="https://github.com/Activiti/Activiti/blob/126e89911d49c6ec0ab3f222baeea2a256e24c0d/activiti-engine/src/test/java/org/activiti/standalone/deploy/CustomDeploymentCache.java" rel="nofollow noopener noreferrer"&gt;Activiti/CustomDeploymentCache.java at 126e89911d49c6ec0ab3f222baeea2a256e24c0d · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;) if you're planning on making dynamic changes in a clustered environment. If so&amp;nbsp;it would be good to hear more about your use-case and why you expect to need this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:22:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-database-cache-in-clustered-environment/m-p/18904#M8364</guid>
      <dc:creator>ryandawson</dc:creator>
      <dc:date>2018-03-22T16:22:55Z</dc:date>
    </item>
  </channel>
</rss>

