App Connect

 View Only
  • 1.  Slow REST API

    Posted Tue January 17, 2023 08:30 AM
    Hi

    Has anyone ever encountered the following:
    For a rest api that has not received messages for a while we see that the first message processed takes about 15s longer then it should.


    When any follow up messages are a lot faster.


    Does anyone know why this happens or if we can tweak that? I know that mq connections can take some time to build up after they haven't been used for a while, but if that impacts a rest api this much (15s is an eternity)...

    Any suggestions are appreciated.

    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------


  • 2.  RE: Slow REST API

    Posted Fri January 20, 2023 08:29 AM
    We figured out that it's actually the authentication part that is causing the delay.
    When adding ldap basic auth to the rest api, the first call (after 20 to 30 minutes of inactivity) takes 15s.

    If only there were logs of that :)

    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------