<?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: How multiple requests handled by Activiti in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-multiple-requests-handled-by-activiti/m-p/4627#M2114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;B&gt;Aneesh Male&lt;/B&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Lets say, If I go with activiti to build the workflow and deploy the web service in multiple servers.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Have a look at Activiti admin doc,&amp;nbsp;&lt;A class="link-titled" href="https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/#_multi_node_clustered_setup" title="https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/#_multi_node_clustered_setup" rel="nofollow noopener noreferrer"&gt;Alfresco Activiti&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;IF there are large number of users using the system at the same time, How processEngine works ?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Multi threaded requests are properly synchronized by Activiti engine. If there are multiple requests trying to access a user task, the first request will be executed and the second will get an exception and so forth. If multiple requests access different process instances, then that's perfectly fine.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;If you are referring to performance i.e. how Activiti handles scalability and availability, have a look at Joram's blog post here:&amp;nbsp;&lt;A class="link-titled" href="http://www.jorambarrez.be/blog/2012/06/28/the-activiti-performance-showdown/" title="http://www.jorambarrez.be/blog/2012/06/28/the-activiti-performance-showdown/" rel="nofollow noopener noreferrer"&gt;The Activiti Performance Showdown | Small steps with big feet&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;One instance&amp;nbsp;processEngine shared across multiple incoming requests?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Depends on your architecture setup, you can have many processEngine instances deployed. Again, look at the Admin Guide section on Activiti&amp;nbsp;&lt;A class="link-titled" href="https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/" title="https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/" rel="nofollow noopener noreferrer"&gt;Alfresco Activiti&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;Does task ids are different for each of the incoming request?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thong Huynh&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2017 04:45:31 GMT</pubDate>
    <dc:creator>thuynh</dc:creator>
    <dc:date>2017-01-27T04:45:31Z</dc:date>
    <item>
      <title>How multiple requests handled by Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-multiple-requests-handled-by-activiti/m-p/4626#M2113</link>
      <description>Hi AllLets say, If I go with activiti to build the workflow and deploy the web service in multiple servers.IF there are large number of users using the system at the same time, How processEngine works ?ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine()1) One instance&amp;nbsp;processEngin</description>
      <pubDate>Thu, 26 Jan 2017 22:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-multiple-requests-handled-by-activiti/m-p/4626#M2113</guid>
      <dc:creator>newtoactiviti</dc:creator>
      <dc:date>2017-01-26T22:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: How multiple requests handled by Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-multiple-requests-handled-by-activiti/m-p/4627#M2114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;B&gt;Aneesh Male&lt;/B&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Lets say, If I go with activiti to build the workflow and deploy the web service in multiple servers.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Have a look at Activiti admin doc,&amp;nbsp;&lt;A class="link-titled" href="https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/#_multi_node_clustered_setup" title="https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/#_multi_node_clustered_setup" rel="nofollow noopener noreferrer"&gt;Alfresco Activiti&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;IF there are large number of users using the system at the same time, How processEngine works ?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Multi threaded requests are properly synchronized by Activiti engine. If there are multiple requests trying to access a user task, the first request will be executed and the second will get an exception and so forth. If multiple requests access different process instances, then that's perfectly fine.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;If you are referring to performance i.e. how Activiti handles scalability and availability, have a look at Joram's blog post here:&amp;nbsp;&lt;A class="link-titled" href="http://www.jorambarrez.be/blog/2012/06/28/the-activiti-performance-showdown/" title="http://www.jorambarrez.be/blog/2012/06/28/the-activiti-performance-showdown/" rel="nofollow noopener noreferrer"&gt;The Activiti Performance Showdown | Small steps with big feet&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;One instance&amp;nbsp;processEngine shared across multiple incoming requests?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Depends on your architecture setup, you can have many processEngine instances deployed. Again, look at the Admin Guide section on Activiti&amp;nbsp;&lt;A class="link-titled" href="https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/" title="https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/" rel="nofollow noopener noreferrer"&gt;Alfresco Activiti&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;Does task ids are different for each of the incoming request?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thong Huynh&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 04:45:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-multiple-requests-handled-by-activiti/m-p/4627#M2114</guid>
      <dc:creator>thuynh</dc:creator>
      <dc:date>2017-01-27T04:45:31Z</dc:date>
    </item>
  </channel>
</rss>

