ICEpush
  1. ICEpush
  2. PUSH-370

Make configurable network error retries

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0, EE-3.3.0.GA_P03
    • Fix Version/s: 4.1, EE-3.3.0.GA_P04
    • Component/s: JavaScript Client
    • Labels:
      None
    • Environment:
      supported browsers
    • Assignee Priority:
      P1

      Description

      We need to make the number of retries when network failures are detected configurable. This way the application can be tailored to the network it is running in.

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Affects Version/s EE-3.3.0.GA_P03 [ 11571 ]
        Affects Version/s 4.0 [ 11383 ]
        Mircea Toma made changes -
        Fix Version/s 4.1 [ 11570 ]
        Fix Version/s EE-3.3.0.GA_P04 [ 12271 ]
        Hide
        Ken Fyten added a comment -

        How about this?

        org.icepush.networkErrorRetryTimeouts - A space separated list of timeout intervals measured in milliseconds. When a network error is detected the bridge will use the first interval in the list to delay the push connection retry, if it receives a network error again it will use the second value and so on. Once the end of the list is reached the bridge will give up trying to establish the connection, and an Network Connection Interrupted (NCI) message will be displayed (unless disabled). The default value is 30000 30000 60000 60000.
        Show
        Ken Fyten added a comment - How about this? org.icepush.networkErrorRetryTimeouts - A space separated list of timeout intervals measured in milliseconds. When a network error is detected the bridge will use the first interval in the list to delay the push connection retry, if it receives a network error again it will use the second value and so on. Once the end of the list is reached the bridge will give up trying to establish the connection, and an Network Connection Interrupted (NCI) message will be displayed (unless disabled). The default value is 30000 30000 60000 60000.
        Ken Fyten made changes -
        Assignee Priority P1 [ 10010 ]
        Component/s JavaScript Client [ 10041 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46067 Mon Oct 05 17:22:15 MDT 2015 mircea.toma PUSH-370 Make configurable the number of retries when ICEpush requests do not receive the expected responses in time.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/application.js
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/connection.async.js
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/java/org/icepush/ConfigurationServer.java
        Hide
        Mircea Toma added a comment - - edited

        Introduced org.icepush.networkErrorRetryTimeouts context parameter to configure the number of retries attempted by ICEpush to re-connect with the server. Instead of using intervals in milliseconds the parameter will take a space separated list of multiplication factors (greater or equal to 1) for the heartbeat interval. This way the calculated intervals between retries will still work when the heartbeat is changed dynamically. The default value is '1 1 1 2 2 3'. For a fixed heartbeat timeout of 5000ms the intervals would translate to 5000ms, 5000ms, 5000ms, 10000ms, 10000ms and 15000ms.

        Show
        Mircea Toma added a comment - - edited Introduced org.icepush.networkErrorRetryTimeouts context parameter to configure the number of retries attempted by ICEpush to re-connect with the server. Instead of using intervals in milliseconds the parameter will take a space separated list of multiplication factors (greater or equal to 1) for the heartbeat interval. This way the calculated intervals between retries will still work when the heartbeat is changed dynamically. The default value is '1 1 1 2 2 3'. For a fixed heartbeat timeout of 5000ms the intervals would translate to 5000ms, 5000ms, 5000ms, 10000ms, 10000ms and 15000ms .
        Hide
        Mircea Toma added a comment -

        Added Wiki documentation for the new context parameter: http://www.icesoft.org/wiki/display/PUSH/ICEpush+Configuration+Parameters .

        Show
        Mircea Toma added a comment - Added Wiki documentation for the new context parameter: http://www.icesoft.org/wiki/display/PUSH/ICEpush+Configuration+Parameters .
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: