prevent tick loss​

Hello,

We have RFA C++ application connecting to ADS 3.X in redundant configuration. When a disconnect occurs, the API recovers the connection and this takes anywhere betwen 2 ~ 5 seconds. During this recovery, ticks are lost.

Is there any way to prevent tick loss during such recovery?Any config parameters in RFA?

Thank you.

Best Answer

  • umer.nalla
    Answer ✓

    Hi @NWM

    I assume you are using serverList, which causes the RFA to attempt failover to a secondary server if connection to one server is lost. Obviously, as it has to establish a new connection + Login etc this takes time.

    To minimise the 'failover time', you can choose to use Warm Standby functionality as described in the RFA Developer Guide section 16.2

    'Warm Standby can provide a secondary, standby message stream between an RFA provider and an RFA consumer. In the event of a failure of the primary provider, an RFA-driven failover to the second stream occurs. This is a faster type of failover because it does not re-request all open items and instead just resumes processing with the back-up stream.'

    As well as the Developer guide, you will also find references to Warm Standby in the RFA Config Guide

    As well as the above online documentation links, you can also access the PDF versions in the docs subfolder of the RFA C++ SDK.

Answers

  • Hello Umer,

    Thank you for the response.

    We will look into WarmStandby feature although it seems this feature is only supported in RSSL/OMM message, could you confirm please?

    Also, will reducing the "recoveryTimeout" quicken the 'failover time'?

    Regards

  • Yes, RFA supports the warm standby feature only on the "RSSL" connection type.

    For recovering the connection, it could be the connectRetryInterval configuration in the connection.

    image