<?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 on Websphere and Spring AsyncJobExcutor in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-websphere-and-spring-asyncjobexcutor/m-p/235321#M188451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi GGR, thanks for the detailed post, really interesting!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Wouldn't it be easier to use the org.activiti.spring.SpringAsyncExecutor here? It seems you're using Spring anyway. This SpringAsyncExecutor expects a taskExecutor to be injected (which maps to what you have). or is this how you are using it already?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. and 3. thanks for posting that. useful for many others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. I'm not sure yet how this would regulate the load of the executor better/differently?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, the thread based solution uses a blockinqueue, when it's full the acquiring will also be throttled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In general, the current implementations works pretty much like you describe (except a second scheduler is not used, it's passed to the queue itself).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So am I right that maybe you're looking for different/interfaces here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; Thanks for providing such a great product.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2016 11:49:47 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2016-09-27T11:49:47Z</dc:date>
    <item>
      <title>Activiti on Websphere and Spring AsyncJobExcutor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-websphere-and-spring-asyncjobexcutor/m-p/235320#M188450</link>
      <description>Context : Make long story short, it has been decided in my company to use Activiti, we have strong knowledge in EMC Workflow Engine. We have deployed it in a hurry in production on IBM Websphere Application Server.Not enough load/perfomance tests, the inevitable happens : the server crashed.After so</description>
      <pubDate>Tue, 20 Sep 2016 18:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-on-websphere-and-spring-asyncjobexcutor/m-p/235320#M188450</guid>
      <dc:creator>ggr</dc:creator>
      <dc:date>2016-09-20T18:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti on Websphere and Spring AsyncJobExcutor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-websphere-and-spring-asyncjobexcutor/m-p/235321#M188451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi GGR, thanks for the detailed post, really interesting!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Wouldn't it be easier to use the org.activiti.spring.SpringAsyncExecutor here? It seems you're using Spring anyway. This SpringAsyncExecutor expects a taskExecutor to be injected (which maps to what you have). or is this how you are using it already?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. and 3. thanks for posting that. useful for many others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. I'm not sure yet how this would regulate the load of the executor better/differently?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, the thread based solution uses a blockinqueue, when it's full the acquiring will also be throttled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In general, the current implementations works pretty much like you describe (except a second scheduler is not used, it's passed to the queue itself).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So am I right that maybe you're looking for different/interfaces here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; Thanks for providing such a great product.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 11:49:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-on-websphere-and-spring-asyncjobexcutor/m-p/235321#M188451</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-09-27T11:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti on Websphere and Spring AsyncJobExcutor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-websphere-and-spring-asyncjobexcutor/m-p/235322#M188452</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. Of course, it will be easier, but you cant retrieve the threadpoolexecutor of a WAS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using a WAS because of the organization policy, but I am not convinced that this is safer/robust/scalable than a tomcat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Two point for this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Considering the use of Thread.sleep() / scheduling of task&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN&gt;If you a have only a limited number of threads to work with - 10, 3 will be allocated to retrieve the jobs and 7 will process the jobs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the queue is full, the 3 retrieving job will be sleeping instead of processing jobs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Regulation of the load&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not know - because I do not have testing enough - if the regulation will be better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have studied your "queue based async executor" of v6, and I think this a really good solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Indeed, we plan to use it : we want to split the execution of job by process to mitigate the risk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Architecture will be something like :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* one oracle DB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* one server to retrieve jobs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* As many queues/JMS as processes definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* at least one job executor per queues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only things that bother me, is that there is not enough abstraction, and the standard implementation &amp;amp; the jms executor one does not share the same interfaces/abstract class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand, I understand the legacy and the need that the engine can be started with the less configuration possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 06:50:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-on-websphere-and-spring-asyncjobexcutor/m-p/235322#M188452</guid>
      <dc:creator>ggr</dc:creator>
      <dc:date>2016-10-05T06:50:15Z</dc:date>
    </item>
  </channel>
</rss>

