<?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: Load balancing jobs in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122399#M86210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One easy solution could be to have a dedicated machine for jobs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Simply put up a server with an Activiti engine, but don't make it do 'regular' operation. Simply point it to the right database, and enable the job executor, and disable the job executor on the regular machines. You now have a dedicated way of handling jobs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The requirement you state (send some job to a specific machine) is not possible out of the box. However, the job executor is pluggable and you can always write some custom code to solve your use case too (but first check if the 'quick-win' is not enough for you).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 09:46:06 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2013-05-29T09:46:06Z</dc:date>
    <item>
      <title>Load balancing jobs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122398#M86209</link>
      <description>Hi,I am relative newbie to Activiti and have enjoyed exploring it so far. Apologize if this question has been asked before, but here goes. My company has tasked me with investigating integration with Activiti Workflow to replace our hand rolled business logic in code. I am modeling the subscription</description>
      <pubDate>Tue, 28 May 2013 19:18:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122398#M86209</guid>
      <dc:creator>kiyer</dc:creator>
      <dc:date>2013-05-28T19:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing jobs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122399#M86210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One easy solution could be to have a dedicated machine for jobs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Simply put up a server with an Activiti engine, but don't make it do 'regular' operation. Simply point it to the right database, and enable the job executor, and disable the job executor on the regular machines. You now have a dedicated way of handling jobs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The requirement you state (send some job to a specific machine) is not possible out of the box. However, the job executor is pluggable and you can always write some custom code to solve your use case too (but first check if the 'quick-win' is not enough for you).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 09:46:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122399#M86210</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-05-29T09:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing jobs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122400#M86211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the guidance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;OL style="list-style-type:decimal;"&gt;&lt;LI&gt;Quick win scenario: Is it possible to enable the job executor on more than machine dedicated to this task? This is so that they can share the load of the jobs. If yes, then how do they coordinate amongst themselves so that they dont execute the same job at the same time?&lt;/LI&gt;&amp;nbsp; &lt;LI&gt;Full win scenario: You mentioned job executor is pluggable. If there are any tutorials/unit tests/ Activiti API that you can point me to, I would be greatful.&lt;/LI&gt;&lt;/OL&gt;&lt;SPAN&gt;Thanks for your tips,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kiyer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 17:36:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122400#M86211</guid>
      <dc:creator>kiyer</dc:creator>
      <dc:date>2013-05-29T17:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing jobs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122401#M86212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Sure thing. Just fire up two or more and they'll balance the jobs between themselves. Nothing extra is required. Do note you'll see an 'ActivitiOptimisticException' passing by in this setup. But that's to be expected: one of the job executors will try to get the job, but fails and gets an optimistic locking exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. No, nothing written out there. But the jobexecutor is a simple bean that you can plugin into the ProcessEngineConfigurationImpl easily. Check the DefaultJobExecutor class to get an idea how this should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 10:25:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122401#M86212</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-05-31T10:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing jobs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122402#M86213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciate your tips!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kiyer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jun 2013 00:05:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/load-balancing-jobs/m-p/122402#M86213</guid>
      <dc:creator>kiyer</dc:creator>
      <dc:date>2013-06-01T00:05:50Z</dc:date>
    </item>
  </channel>
</rss>

