Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
avatar image
Question by tbaker · Jun 22, 2017 at 09:15 AM · elektronOMMADHnippublishing

NIP Publishing with two ADH servers using Elektron Java SDK

I am writing a Java NI Provider to publish to our TREP infrastructure using the Elektron SDK. We have two ADH and two ADS servers. The ADH servers configured using hotStandby.

When testing I see that my subscribers don't see any data that is published to the standby ADH. When I failover the ADH servers I see that the previous standby server has stale data (the last data that was published directly to that server).

Should the NI Provider publish to just the active server? Or should it publish to the both at the same time? Multicast isn't currently supported by Elektron, but I could easily run the submit method on two publishers at once using RSSL for both.

I expected that the standby server has a mechanism to keep in sync with the active server. But that's not what I'm seeing. Perhaps I've misconfigured the data source?

This is similar to another question posted (https://community.developers.thomsonreuters.com/questions/10246/nip-publishing-on-2-adh-without-multicast.html). But it wasn't clear what is the reason to publish to both ADH servers? Should I just configure them to keep in sync?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Nipat Kunvutipongsak · Jun 27, 2017 at 07:28 AM

Hello @tbaker,

From my understanding, the hot standby feature is used for making a fault tolerance on ADHs. So, if one of them goes down, the other once is still available and can continue providing services to downstream components.

If you expect for making the standby server performs data synchronization with the active server. Imagine the situation that there is something wrong with the active server, it will affect to the standby server as well, which means that the hot standby feature will be useless in this case.

Referring to your statement:

When testing I see that my subscribers don't see any data that is published to the standby ADH. When I failover the ADH servers I see that the previous standby server has stale data (the last data that was published directly to that server).

I'm not sure that you encountered this behavior from which type of topology, but in my test environment using topology 1, there were the scenarios as follows:

1. The active ADH went down.

2. The connecting ADS detected this problem and sent a DIRECTORY update message to the application with the status text: "A23: Source has gone down, requesting from another source."

3. The application will change the item status to 'Open/Suspect'.

4. Once the standby ADH became active, then ADS sent a DIRECTORY update to the application.

5. After that, ADS sent a new refresh message to the application again. The item status went back to Open/Ok.

That's why I'm curious about the different results. Please let me know if there is something that I'm overlooking.


single-publishing-with-data-sync.png (59.5 KiB)
redundant-publishing.png (56.6 KiB)
Comment
tbaker

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by tbaker · Jun 27, 2017 at 08:33 AM

Hi Nipat,

Thanks for the extra information. I have Topology 2 for my test case and I was unsure if I needed to send the data to both ADH servers. You've made a really good point regarding the hot standby only being useful if both servers receive the data separately. It wasn't clear from the documentation on ADH that the Non Interactive Provider application should send data to all ADH servers. Plus all the example applications are for single ADH server topology. I've changed my code to publish in parallel to all ADHs and it's working well.

Thanks

Tom

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Two NIPs publishing on the same service (ADH cache)

NIP publishing on 2 ADH without multicast

NIP configuration

[TREP] pendingToSrcAppTimeout equivalent in seconds

SSL(MarketFeed) vs RSSL(OMM) message size reduction

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges