question

Upvotes
Accepted
1 0 1 2

DACS recoverability using RFA

Hello,

I am using RFA 7.0.1.E4 in order to access DACS. I would like to know if/how it is possible to handle DACS recoverability.

To be more precise on my question, I need two things:

  • get - in real time - the DACS status (up, down...): if DACS falls, I need to be informed, when DACS becomes up once again, I need to be informed as well
  • I need to handle automatic reconnection when DACS becomes up


To do so, do I have to check periodically the connection to DACS? (this may be done with a thread running in background)

Or can it be handled automatically and transparently via RFA?

(To my modeste knowledge, Elektron is not able to work with DACS: if I am wrong and Elektron is able to work with DACS and if Elektron is able to handle recoverability with DACS, another possibility for me would be switch from RFA to DACS)

Thanks for help

Philippe

treprfarfa-apiDACSrecoverability
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

@philippe.mesmeur

Open DACS will reconnect to DACS when the connection is down. As I know, there is no event fired to the application when the DACS connection state is changed. Therefore, the application needs to regularly check the daemon connection state to verify the connection.

RFA is able to connect to TREP or Elektron feed to consume real-time data. RFA itself is unable to connect to DACS. An API that can connect to DACS is Open DACS. However, Open DACS relies on the event distribution mechanism in RFA so using Open DACS requires RFA.

RFA and Open DACS are different APIs but they can be used together because they rely on the same event distribution mechanism.

When you mentioned Elektron in the question, I assume that it is Elektron API, such as EMA or ETA. Like RFA, the Elektron API can connect to TREP or Elektron feed to consume real-time data. It is unable to connect to DACS.

In theory, you can use Open DACS with Elektron API. You can refer to this thread.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea