Provider accepting state interaction with ADH with discourageRequestsOnOutage enabled
We have an RSSL provider built against RFA 8.1 using the C++ API.
When the process detects that it is becoming a slow consumer it should stop accepting new requests but to infer that all existing requests are still ok. This is currently communicated to the ADH by sending a directory message with:
- load factor set to 65535;
- service state as 1 (Up); and
- accepting state as 0 (Not Accepting)
But, when this is sent to an ADH with discourageRequestsOnOutage enabled all requests are marked stale. This was using ADH 3.2.3.
Is this understanding of the accepting state incorrect? Should the process leave the accepting state as 1 (accepting) and simply "prevent" new requests by the use of the load factor alone?
Best Answer
-
Hi @sbutler9
Based on the information you have provided, it would appear that the ADH behaviour is not as expected.
Therefore, I would recommend you raise a Premium Support ticket and/or raise a TREP support ticket - so that this can be investigated offline in more detail with input from a TREP expert.
Please include relevant trace files from the Provider, Consumer and relevant ADS/ADH logs to help with the investigation.
0
Answers
-
Hi @sbutler9
When you say all requests are marked stale, do you mean new request or do you actually mean existing open items are receiving Stale status messages?
If you set AcceptingRequests to false, it indicates to the ADH that your provider will not accept any new requests.
Also, may I ask if you are developing a new Provider application with RFA or updating an existing application? If a new development, our recommendation is that any new development work is done using our newer strategic Refintiv Realtime SDK - rather than the legacy RFA APIs. The EMA part of the RealtimeSDK is much easier to learn, implement and maintain (than RFA) and will be supported for a much longer time period in the future.
The link above is for the Java version and it is also available C++
0 -
The above appears to be from the RDM Usage guide and is what we have been using as our reference. Our intent is to not accept new requests but keep existing ones ticking over. Our provider includes a status of Open/Ok/None in this scenario. It does not include a group filter entry.
The adh logs the following:
"Source Application is no longer accepting requests and dismountOnOutage is enabled. The server will be removed from the network."
A test consumer connected to the ADS receives a group entry with a Closed Recover/Suspect/None state and text of "A23: Service has gone down. Will recall when service becomes available."
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛