<?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: Getting more throughput from JobExecutor in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177072#M130202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On further examination it seems that since each server in the cluster only fetches one job at a time, there is no increase in paralellism. The threadPoolExecutor doesnt go beyond one thread. My jobs are lasting about 200-300ms. I see the comment in the code to not increase the acquire jobs count to more than one for a clustered enviroment so not sure what to do at this point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2014 01:04:31 GMT</pubDate>
    <dc:creator>jorell</dc:creator>
    <dc:date>2014-09-19T01:04:31Z</dc:date>
    <item>
      <title>Getting more throughput from JobExecutor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177071#M130201</link>
      <description>I am currently getting about 2 job completions per second from a clustered environment and multiple job executors running. I am trying to drastically improve this (&amp;gt; 200 jobs per second). From the looks of it it seems I am thread bound. Hardware is not a concern for me and I created my own JobExe</description>
      <pubDate>Fri, 19 Sep 2014 00:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177071#M130201</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-09-19T00:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting more throughput from JobExecutor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177072#M130202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On further examination it seems that since each server in the cluster only fetches one job at a time, there is no increase in paralellism. The threadPoolExecutor doesnt go beyond one thread. My jobs are lasting about 200-300ms. I see the comment in the code to not increase the acquire jobs count to more than one for a clustered enviroment so not sure what to do at this point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 01:04:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177072#M130202</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-09-19T01:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting more throughput from JobExecutor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177073#M130203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just bouncing ideas while I wait for a response &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;SPAN&gt;I was thinking of modifying my custom job executor to have a list of AcquireJobsRunnable threads instead of just one thread. Since each thread will atempt to acquire a single job, we should still be able to avoid the deadlock mentioned in &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1879" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1879&lt;/A&gt;&lt;SPAN&gt;. But having multiple threads fetching job should allow us to increase throughput. Does this sound reasonable?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 16:56:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177073#M130203</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-09-19T16:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting more throughput from JobExecutor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177074#M130204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I noticed we are fetching jobs twice. The first time AcquireJobsRunnable fetches the job(s). But only stores the ids. This id is then used to fetch the job again in the ExecuteJobsCmd, so we are doing the same query twice. This seems redundant. Why not pass the whole job the the execute command instead of just the id?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I noticed I haven't gotten a single response so far. Please let me know if I am not posting enough information or there is something else wrong with what I am doing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 00:37:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-more-throughput-from-jobexecutor/m-p/177074#M130204</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-09-23T00:37:49Z</dc:date>
    </item>
  </channel>
</rss>

