<?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: R80.20 - Is the REST API working asynchronous? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61659#M3854</link>
    <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only one command / one change.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2019 15:42:01 GMT</pubDate>
    <dc:creator>KonstantinS</dc:creator>
    <dc:date>2019-09-02T15:42:01Z</dc:date>
    <item>
      <title>R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61633#M3847</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We are currently doing a lot of stuff with the REST API (v1.3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general we are sending four API calls:&lt;/P&gt;&lt;P&gt;1. login&lt;/P&gt;&lt;P&gt;2. set-% (e.g. set-access-role)&lt;/P&gt;&lt;P&gt;3. publish&lt;/P&gt;&lt;P&gt;4. logout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes it happens that the change will not get through and/or the logout will not work.&lt;/P&gt;&lt;P&gt;It seems that the API Server is executing them asychronously, because it helps if we are inserting some waits (e.g. 10sec) between the calls. Without the waits it would be executed within milliseconds and leads into inconsistent objects. Of course, this isn't a solution because in our PROD environment we may have a higher load on the system later.&lt;/P&gt;&lt;P&gt;Has anyone the same or similar issues? Is the API Server executing the calls in some queue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Konstantin&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 11:04:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61633#M3847</guid>
      <dc:creator>KonstantinS</dc:creator>
      <dc:date>2019-09-02T11:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61658#M3853</link>
      <description>How many commands are you doing before you publish?&lt;BR /&gt;One thing we recommend as a best practice is to limit the number of changes made per session (a few hundred) before you publish.</description>
      <pubDate>Mon, 02 Sep 2019 15:36:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61658#M3853</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-09-02T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61659#M3854</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only one command / one change.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 15:42:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61659#M3854</guid>
      <dc:creator>KonstantinS</dc:creator>
      <dc:date>2019-09-02T15:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61776#M3857</link>
      <description>What are the specs on your management server(s) (RAM, CPU)?&lt;BR /&gt;If it's multi-domain, how many domains?&lt;BR /&gt;Perhaps some tuning needs to be done on the API server for better performance and/or more RAM/CPU may be needed.</description>
      <pubDate>Tue, 03 Sep 2019 15:35:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61776#M3857</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-09-03T15:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61818#M3870</link>
      <description>&lt;P&gt;It is a fresh installed Management Server with one domain.&lt;/P&gt;&lt;P&gt;We have only the standard objects in place.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 07:03:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61818#M3870</guid>
      <dc:creator>KonstantinS</dc:creator>
      <dc:date>2019-09-04T07:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61883#M3874</link>
      <description>Amount of RAM/CPU in management server?</description>
      <pubDate>Wed, 04 Sep 2019 16:19:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61883#M3874</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-09-04T16:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61925#M3902</link>
      <description>&lt;P&gt;32GB RAM and 16 CPUs&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 07:09:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61925#M3902</guid>
      <dc:creator>KonstantinS</dc:creator>
      <dc:date>2019-09-05T07:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61948#M3904</link>
      <description>&lt;P&gt;Please see the following SK, your API server may not be flat-out crashing but if it is constrained for memory it can cause some problematic effects.&amp;nbsp; Heavy use of the API will almost certainly require giving the API server more memory:&lt;/P&gt;
&lt;P&gt;&lt;A class="cp_link sc_ellipsis" style="max-width: 840px;" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk119553&amp;amp;partition=Advanced&amp;amp;product=Security" target="_blank" rel="noopener"&gt;sk119553: Security Management &lt;STRONG&gt;API&lt;/STRONG&gt; server crashes under heavy load&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 13:12:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61948#M3904</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2019-09-05T13:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61966#M3908</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/597"&gt;@Timothy_Hall&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Thanks, I saw this article, but I don't think that adding one object to an existing Access Role is known as "heavy load".&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 16:18:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61966#M3908</guid>
      <dc:creator>KonstantinS</dc:creator>
      <dc:date>2019-09-05T16:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61992#M3912</link>
      <description>I highly recommend getting the TAC involved to troubleshoot this.</description>
      <pubDate>Thu, 05 Sep 2019 21:08:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/61992#M3912</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-09-05T21:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: R80.20 - Is the REST API working asynchronous?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/62023#M3914</link>
      <description>&lt;P&gt;Yes, we did already and it is still ongoing.&lt;/P&gt;&lt;P&gt;But I have the hope that someone ran into the same problem.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 06:07:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-20-Is-the-REST-API-working-asynchronous/m-p/62023#M3914</guid>
      <dc:creator>KonstantinS</dc:creator>
      <dc:date>2019-09-06T06:07:59Z</dc:date>
    </item>
  </channel>
</rss>

