Topic
  • 7 replies
  • Latest Post - ‏2013-07-16T17:37:50Z by HermannSW
smashyrahul
smashyrahul
412 Posts

Pinned topic Timeout in DataPower

‏2013-07-12T16:02:28Z |

Hello Experts,

I have a question regarding timeouts. I can see there are several timeouts in datpower

1) Front side timeout and back side timeout ( on Configure MPGW screen in 'General' tab)

2) Front persistent timeout and back persistent timeout ( under 'Advanced' tab)

3) TimeOut in user agent.

How can we know that which timeout value is actually getting used?

Thanks,

Rahul

Updated on 2015-07-03T09:13:00Z at 2015-07-03T09:13:00Z by smashyrahul
  • JoeMorganNTST
    JoeMorganNTST
    427 Posts

    Re: Timeout in DataPower

    ‏2013-07-15T21:33:54Z  

    Front and back side timeout is a time out related to the actual transaction connection, describing how long DataPower will wait before abandoning the communication attempt (back side) or response (front side)

    The front and back persistent timeouts are designed for when you are using persistent connections, how long to keep a connection open before it times out.

    I haven't played with User Agent timeout much, and I would think the MPGW timeout presides.  When set at the default of 120, that is the timeout... not the 5 minutes in the User Agent.  However, it does make me wonder if I set the User Agent timeout at, say, 60, would that one preside.

     

  • smashyrahul
    smashyrahul
    412 Posts

    Re: Timeout in DataPower

    ‏2013-07-16T15:41:22Z  

    Front and back side timeout is a time out related to the actual transaction connection, describing how long DataPower will wait before abandoning the communication attempt (back side) or response (front side)

    The front and back persistent timeouts are designed for when you are using persistent connections, how long to keep a connection open before it times out.

    I haven't played with User Agent timeout much, and I would think the MPGW timeout presides.  When set at the default of 120, that is the timeout... not the 5 minutes in the User Agent.  However, it does make me wonder if I set the User Agent timeout at, say, 60, would that one preside.

     

    Thanks Joe,

    But is it advisable to use 'Persistent Connections' ON in datapower? In what scenario we should keep it ON?

    Thanks,

    Rahul

  • JoeMorganNTST
    JoeMorganNTST
    427 Posts

    Re: Timeout in DataPower

    ‏2013-07-16T15:51:52Z  

    Thanks Joe,

    But is it advisable to use 'Persistent Connections' ON in datapower? In what scenario we should keep it ON?

    Thanks,

    Rahul

    I can't think of a time when I explicitly turned it off.... and I haven't been bitten that I know of.

  • smashyrahul
    smashyrahul
    412 Posts

    Re: Timeout in DataPower

    ‏2013-07-16T16:22:20Z  

    I can't think of a time when I explicitly turned it off.... and I haven't been bitten that I know of.

    Well me too, by default it is turned 'ON'. But I am really not sure, if it will cause any issues with higher amount of volumes.

  • smashyrahul
    smashyrahul
    412 Posts

    Re: Timeout in DataPower

    ‏2013-07-16T16:53:20Z  

    I can't think of a time when I explicitly turned it off.... and I haven't been bitten that I know of.

    As per below article:

    http://www-01.ibm.com/support/docview.wss?uid=swg21417934

    When multiple services communicate within the same device, persistent connections should be disabled over that connection.

    Till now I have not faced any issues, as there was no load test done so far on my application, but after reading all these articles, I fear some issues may occur if I kept 'Persistent Connection' ON.

    For now, I will just keep it 'ON', let's see what happens during load testing.

    Thanks,

    Rahul

     

  • JoeMorganNTST
    JoeMorganNTST
    427 Posts

    Re: Timeout in DataPower

    ‏2013-07-16T17:17:19Z  

    As per below article:

    http://www-01.ibm.com/support/docview.wss?uid=swg21417934

    When multiple services communicate within the same device, persistent connections should be disabled over that connection.

    Till now I have not faced any issues, as there was no load test done so far on my application, but after reading all these articles, I fear some issues may occur if I kept 'Persistent Connection' ON.

    For now, I will just keep it 'ON', let's see what happens during load testing.

    Thanks,

    Rahul

     

    That seems to be limited to internal service->service communication.  It makes me wonder, though, if it still applies beyond 4.0.2 firmware.

  • HermannSW
    HermannSW
    6201 Posts

    Re: Timeout in DataPower

    ‏2013-07-16T17:37:50Z  

    That seems to be limited to internal service->service communication.  It makes me wonder, though, if it still applies beyond 4.0.2 firmware.

    > This best practice will avoid the inherent race condition of HTTP persistent connection reuse and any network errors that would result.
    >
    It is a HTTP protocol issue -- so yes, that technote still applies.


    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>