<?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: Caching, process variables, multiple jvms in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/caching-process-variables-multiple-jvms/m-p/87336#M59131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. It's cached inside the Activiti Engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If you have multiple JVMs it also should be no problem as-is. The Activiti Engine runs all the synchronous elements of a process definition in one go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When for example a user task is encountered, the process state is stored to the database, including its variables. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then when the user task is completed and the process instance continues, the process execution and variables are retrieved from the database or the cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. It's available only on JVM1 at first, but when the process instance is persisted it's of course available to all JVMs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Do you see performance issues for your usage? Activiti is pretty fast already, and is scalable to multiple JVMs out-of-the-box, so why would you want to add another cache?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 08:51:52 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2012-05-02T08:51:52Z</dc:date>
    <item>
      <title>Caching, process variables, multiple jvms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/caching-process-variables-multiple-jvms/m-p/87335#M59130</link>
      <description>Lets say that I've created a variable called userId and this is available for spring beans:For example:&amp;lt;serviceTask id="userTask" name="userTasks" activiti:expression="#{userTask.findUsersAddress(userId)}" /&amp;gt;‍In the above example the userId would be automatically provided to the userTask sprin</description>
      <pubDate>Mon, 30 Apr 2012 15:37:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/caching-process-variables-multiple-jvms/m-p/87335#M59130</guid>
      <dc:creator>imamchishty</dc:creator>
      <dc:date>2012-04-30T15:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Caching, process variables, multiple jvms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/caching-process-variables-multiple-jvms/m-p/87336#M59131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. It's cached inside the Activiti Engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If you have multiple JVMs it also should be no problem as-is. The Activiti Engine runs all the synchronous elements of a process definition in one go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When for example a user task is encountered, the process state is stored to the database, including its variables. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then when the user task is completed and the process instance continues, the process execution and variables are retrieved from the database or the cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. It's available only on JVM1 at first, but when the process instance is persisted it's of course available to all JVMs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Do you see performance issues for your usage? Activiti is pretty fast already, and is scalable to multiple JVMs out-of-the-box, so why would you want to add another cache?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 08:51:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/caching-process-variables-multiple-jvms/m-p/87336#M59131</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-05-02T08:51:52Z</dc:date>
    </item>
  </channel>
</rss>

