<?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 Activiti Rest - Calling multiple instances concurrently in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-calling-multiple-instances-concurrently/m-p/196847#M149977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have defined some simple BPM flows (F1) and deployed in activiti-rest.war. For simplicity, I have take a simple start-end flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written a REST client to execute the flow (F1) in parallel threads (20) with its required parameters for 1000 http requests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem: I can see the flows are running sequentially, one by one response for the 20 parallel threads. It took a time of around 60 secs to complete with 20 threads (even when increased to 50 threads) it is the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti Version : 5.15 What should be the problem here ?. Any help will be really useful. activiti-rest/service/runtime/process-instances - Rest URL used to start the instance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yoka&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 14:01:41 GMT</pubDate>
    <dc:creator>yokamurugan</dc:creator>
    <dc:date>2014-07-21T14:01:41Z</dc:date>
    <item>
      <title>Activiti Rest - Calling multiple instances concurrently</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-calling-multiple-instances-concurrently/m-p/196847#M149977</link>
      <description>I have defined some simple BPM flows (F1) and deployed in activiti-rest.war. For simplicity, I have take a simple start-end flow.I have written a REST client to execute the flow (F1) in parallel threads (20) with its required parameters for 1000 http requests.Problem: I can see the flows are running</description>
      <pubDate>Mon, 21 Jul 2014 14:01:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-calling-multiple-instances-concurrently/m-p/196847#M149977</guid>
      <dc:creator>yokamurugan</dc:creator>
      <dc:date>2014-07-21T14:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Rest - Calling multiple instances concurrently</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-calling-multiple-instances-concurrently/m-p/196848#M149978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At last i found the solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It could be of two reasons 1) Make sure task's "Exclusive" property is set to false. But it needs more analysis on how your process task will be running. Refer the below link for further information &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#exclusiveJobs" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#exclusiveJobs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) If you run the activity rest application and the client process on a dual-core machine. It might be difficult to assess the response time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Yoka&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 15:22:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-calling-multiple-instances-concurrently/m-p/196848#M149978</guid>
      <dc:creator>yokamurugan</dc:creator>
      <dc:date>2014-07-24T15:22:08Z</dc:date>
    </item>
  </channel>
</rss>

