<?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: Is there way to limit number of concurrent process instances? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233825#M186955</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;From my point of view, it is possible to execute bulk operations asynchronously. In a case of async operations you can implement&amp;nbsp; job executor and control throughput in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 05:54:22 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2016-03-24T05:54:22Z</dc:date>
    <item>
      <title>Is there way to limit number of concurrent process instances?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233822#M186952</link>
      <description>Is there a way to limit the number of concurrent process instances the engine can run? If so, is there any type of queuing mechanism that backlog process instances to run them later (when the concurrent limit is no longer exceeded)?I've done a good deal of searching both the net and guide as well as</description>
      <pubDate>Wed, 23 Mar 2016 16:33:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233822#M186952</guid>
      <dc:creator>joeysr20det</dc:creator>
      <dc:date>2016-03-23T16:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there way to limit number of concurrent process instances?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233823#M186953</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;I do not see the reason why you need to limit concurrent process instances. Could you provide use case?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a possibility to control concurrent process instances in async execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/index.html#jobExecutorConfiguration" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#jobExecutorConfiguration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 20:03:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233823#M186953</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-03-23T20:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there way to limit number of concurrent process instances?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233824#M186954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure. So we implemented the use of Activiti within our Document Management system several years ago. Additionally, we've created what we call Workflow Process Triggers. The idea behind these triggers is that I can say every time a document of a specific nature is created, modified, etc. run this specific process. While this triggers work very well at triggering a workflow sequence for all sorts of events, we do have a few corner cases we are looking to deal pertaining to bulk operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, if I have the need to execute a process every time a specific type of document is created. While this no issue at all for small operations (of one, 10, 20, 30 documents), we run into issues when users bulk load thousands, tens of thousand, etc. While this is zero issue on the rest of our system, it's pretty easy to bring down the workflow engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our idea is that if available we could configure the engine to say accept up to a thousand, ten thousand, etc. concurrent processes (whatever a reasonable limit is for the given server) and then begin to backlog the start process instance requests until the engine falls back under that threshold.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've done a good deal of searching and don't see anything for this type of need in the Activiti user guide, source code, etc. While we can easily add this to our software, we just wanted to make sure nothing like this existed already as to not reinvent the wheel &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the quick reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 20:23:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233824#M186954</guid>
      <dc:creator>joeysr20det</dc:creator>
      <dc:date>2016-03-23T20:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there way to limit number of concurrent process instances?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233825#M186955</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;From my point of view, it is possible to execute bulk operations asynchronously. In a case of async operations you can implement&amp;nbsp; job executor and control throughput in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 05:54:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233825#M186955</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-03-24T05:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there way to limit number of concurrent process instances?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233826#M186956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the input. We'll definitely look into that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any sort of specifications we could refer to anywhere as to safe/reasonable number of concurrent process instances for say a given amount of JVM memory? I know it's all relative as to the size and impact of the process definitions themselves, but we wanted to make sure we hadn't looked over or missed any kind of "rule of thumb" advice in our searching.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 17:04:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233826#M186956</guid>
      <dc:creator>joeysr20det</dc:creator>
      <dc:date>2016-03-24T17:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there way to limit number of concurrent process instances?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233827#M186957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, there is no real rule of thumb here. Typically, you'll be limited by the database and the database connections. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The way&amp;nbsp; read your use case, I would use the new Async executor. A few thousand async process instances should not bring down the engine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 15:20:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-way-to-limit-number-of-concurrent-process-instances/m-p/233827#M186957</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-25T15:20:06Z</dc:date>
    </item>
  </channel>
</rss>

