<?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: REST Performance &amp; Keep Alives in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541849#M20209</link>
    <description>&lt;P&gt;OK, we solved the issue by simply using the same cl_http_client instance for multiple requests.&lt;/P&gt;
  &lt;P&gt;So basically:&lt;/P&gt;
  &lt;P&gt;1. Create cl_http_client object lo_client&lt;/P&gt;
  &lt;P&gt;2. Loop through multiple requests with lo_client-&amp;gt;send( ).&lt;/P&gt;
  &lt;P&gt;3. Close connection with lo_client-&amp;gt;close( ).&lt;/P&gt;
  &lt;P&gt;It's not yet clear if the headers need to be reset between each request.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2017 06:12:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-09-04T06:12:07Z</dc:date>
    <item>
      <title>REST Performance &amp; Keep Alives</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541845#M20205</link>
      <description>&lt;P&gt;We consume REST web services from SAP ABAP (cl_http_client) but are seeing performance issues when very many requests need to be performed.&lt;/P&gt;
  &lt;P&gt;We imagine part of the overhead is the need to build a new connection to the remote host for each request. Is there any way to &lt;A target="_blank" href="https://en.wikipedia.org/wiki/HTTP_persistent_connection"&gt;reuse connections&lt;/A&gt; using the "Keep Alive" features of HTTP 1.1 from ABAP?&lt;/P&gt;
  &lt;P&gt;Methods used:&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;cl_http_client=&amp;gt;create_by_destination()&lt;/LI&gt;
   &lt;LI&gt;cl_http_client=&amp;gt;create_by_url()&lt;/LI&gt;
  &lt;/UL&gt;</description>
      <pubDate>Mon, 28 Aug 2017 08:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541845#M20205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-08-28T08:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: REST Performance &amp; Keep Alives</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541846#M20206</link>
      <description>&lt;P&gt;Can you check / verify with SAP-BASIS if they can / will use info in SAP-KBA's &lt;A target="_blank" href="https://launchpad.support.sap.com/#/notes/824554"&gt;824554&lt;/A&gt; or &lt;A target="_blank" href="https://launchpad.support.sap.com/#/notes/1757252"&gt;1757252&lt;/A&gt; to check up on and / or modify connection Settings with regard to 'KeepAlive' and 'Timeouts'? &lt;/P&gt;
  &lt;P&gt;You might do(cument) some testing as to provide good arguments to make changes to this type of settings ...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 22:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541846#M20206</guid>
      <dc:creator>NTeunckens</dc:creator>
      <dc:date>2017-08-28T22:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: REST Performance &amp; Keep Alives</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541847#M20207</link>
      <description>&lt;P&gt;Thanks for the tip. Unfortunately it seems that the SICM settings for clients only apply to timeouts. The keep-alive settings (at least according to 824554) only apply to servers (i.e. SAP SICF services).&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 08:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541847#M20207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-08-31T08:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST Performance &amp; Keep Alives</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541848#M20208</link>
      <description>&lt;P&gt;See SAP Help on "icm/keep_alive_timeout" : &lt;A target="_blank" href="https://help.sap.com/viewer/683d6a1797a34730a6e005d1e8de6f22/7.51.2/en-US/a3205fe7845041f2ae02cb50d1310bbf.html"&gt;link&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;See SAP Help mentioning ICM as HTTP-Client : &lt;A target="_blank" href="https://help.sap.com/viewer/683d6a1797a34730a6e005d1e8de6f22/7.51.2/en-US/6f6e2e4413994a2b9a3fa46a8cc1d3e0.html"&gt;link&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;SAP Wiki Timout options for ICM : &lt;A target="_blank" href="https://wiki.scn.sap.com/wiki/display/Basis/Timeout+Options+for+ICM"&gt;link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 19:55:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541848#M20208</guid>
      <dc:creator>NTeunckens</dc:creator>
      <dc:date>2017-08-31T19:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: REST Performance &amp; Keep Alives</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541849#M20209</link>
      <description>&lt;P&gt;OK, we solved the issue by simply using the same cl_http_client instance for multiple requests.&lt;/P&gt;
  &lt;P&gt;So basically:&lt;/P&gt;
  &lt;P&gt;1. Create cl_http_client object lo_client&lt;/P&gt;
  &lt;P&gt;2. Loop through multiple requests with lo_client-&amp;gt;send( ).&lt;/P&gt;
  &lt;P&gt;3. Close connection with lo_client-&amp;gt;close( ).&lt;/P&gt;
  &lt;P&gt;It's not yet clear if the headers need to be reset between each request.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 06:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541849#M20209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-04T06:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: REST Performance &amp; Keep Alives</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541850#M20210</link>
      <description>&lt;P&gt;Hi Marc&lt;/P&gt;
  &lt;P&gt;Glad you found some way to solve your problem (in part).&lt;/P&gt;
  &lt;P&gt;Please follow-up for all of us, if additional steps are necessary ...&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Nic T.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 08:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541850#M20210</guid>
      <dc:creator>NTeunckens</dc:creator>
      <dc:date>2017-09-04T08:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: REST Performance &amp; Keep Alives</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541851#M20211</link>
      <description>&lt;P&gt;The parameter "&lt;STRONG&gt;icm/keep_alive_timeout&lt;/STRONG&gt;" applies to ICM as a server. My question is related to outgoing requests where ICM is the client.&lt;/P&gt;
  &lt;P&gt;The parameters relevant seem to be:&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;icm/HTTP/client/keep_alive_timeout (default 10s &lt;A href="http://help.sap.com/viewer/bd78479f4da741a59f5e2a418bd37908/1709.000/en-US/66d7f05dcccb4cbcaf06d873e3a720e9.html" target="_blank"&gt;docs&lt;/A&gt;)&lt;/LI&gt;
   &lt;LI&gt;icm/max_kept_client_conns (no documentation found)&lt;BR /&gt;&lt;/LI&gt;
  &lt;/UL&gt;</description>
      <pubDate>Mon, 16 Oct 2017 10:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rest-performance-keep-alives/m-p/541851#M20211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-16T10:55:33Z</dc:date>
    </item>
  </channel>
</rss>

