<?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: Paralllel processing for multiple users in parallel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607479#M1759199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neerup. I have not faced an issue like yours but here are my few ideas.&lt;/P&gt;&lt;P&gt;1) Make username in the table as a secondary index to the DB table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data fetch will be faster.&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;2) Create a lock for the DB object when one user uses accesses the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2013 11:51:10 GMT</pubDate>
    <dc:creator>Arun_Prabhu_K</dc:creator>
    <dc:date>2013-08-05T11:51:10Z</dc:date>
    <item>
      <title>Paralllel processing for multiple users in parallel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607478#M1759198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where users on executing a particular FM will get the records from database(FM is user specific and fetches the records for that user only), since the FM used to take long time because of teh number of records in backend, we have implemented paralllel processing for the FM. Now for the user the parallel processing is working fine and based on the calculation we are doing internally the system is optimally using the free workprocess.&lt;/P&gt;&lt;P&gt;The issue here is, the parallel processing is working fine for single user but as soon multiple users start executing the same FM as FM is user specific the system tries to get all teh resource available in the system and once all teh work processes are allocated it gives RESOURCE_FAILURE error.&lt;/P&gt;&lt;P&gt;For example if in the system I have 20 work processes and for the first user if it consumes 4 work processes and at the same time if another user executes the same FM for his user then the system will allocate another 4 work processes and as soon the number of users increases the workprocess utilization will increase and results in RESOURCE_FAILURE error. &lt;/P&gt;&lt;P&gt;Kindly let me know in case if any one of you have encountered similar type of issue, it would be great if you could provide a solution for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Neerup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 11:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607478#M1759198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-05T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Paralllel processing for multiple users in parallel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607479#M1759199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neerup. I have not faced an issue like yours but here are my few ideas.&lt;/P&gt;&lt;P&gt;1) Make username in the table as a secondary index to the DB table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data fetch will be faster.&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;2) Create a lock for the DB object when one user uses accesses the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 11:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607479#M1759199</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2013-08-05T11:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Paralllel processing for multiple users in parallel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607480#M1759200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your suggestion, but that is not going to work for me, the thing is the FM will do lots of processing and calls to different FM and is not a simple db call to fetch the record, I told the same initially so that its easy to understand.&lt;/P&gt;&lt;P&gt;Kindly let me know if there are any more suggestions, will be happy to receive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Neerup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 12:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607480#M1759200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-05T12:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Paralllel processing for multiple users in parallel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607481#M1759201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neerup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like your servers are lacking in either RAM or processes - one option would be to boost the system resources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are running these functions in batch jobs, you could try routing them all onto a single application server and limiting the number of batch processes on the server - this will cause them to queue up, stopping too many running at once and using up all of the available resources.&amp;nbsp; You can specify the target server as a parameter in function "JOB_CLOSE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Colin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 10:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/paralllel-processing-for-multiple-users-in-parallel/m-p/9607481#M1759201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-09T10:33:21Z</dc:date>
    </item>
  </channel>
</rss>

