Delayed ACKs from the websocket contributions API
Hi,
We are contributing around 20k update messages every 30s to the websocket contribution endpoint (contrib-ws1-amers1.platform.refinitiv.com), however we are seeing the ACKs coming in very delayed, up to a point where it is not possible for us to utilize them for correct failover/retry logic as suggested here (https://community.developers.refinitiv.com/questions/114212/ab-side-failover-using-websockets-api-for-data-con.html).
From my basic measurements it appears that the throughput of the system is 8 times lower than what we are streaming. We are only getting around 2.5k ACKs every 30s. From the login response message the limit should be 20k messages/s (```"Elements":{"TRCE:MaxMessagesPerSecond":20000}```).
What could be the issue here? Is there anything that our Content Manager can do for us on your end (e.g. change some configuration values)? The 20k update messages as we see them are being successfully sent over the websocket to your endpoint every 30s.
Thank you!
Best Answer
-
Hello @fjemiolo
Based on this old Confirmation of Python WebSocket (directly to RCC) is good or not for our use case post, the maximum contributions per second of each connection type of RCC are as follows (as of 2021):
- RSSL connection (for RTSDK C++/Java): 20,000 updates per second
- WebSocket connection: 1000 updates per second
The RTSDK C/C++ or Java editions (EMA or ETA APIs) may be more suitable for your requirement (20k update messages every 30s) then the WebSocket API.
The WebSocket API is designed for easy to develop and support various programming languages via the standard WebSocket connection and JSON message format. While the RTSDK uses Refinitiv's proprietary TCP-based connection called RSSL. The RSSL connection encodes data in binary format which is highly optimized for data distribution more than a JSON string format in a WebSocket connection.
You can find more details in the following article and tutorials:
- Contributing your data to Refinitiv article
- ETA C++ Consumer - Posting data to Contribution Channel tutorial
- EMA C++ Consumer - Posting data to Contribution Channel tutorial
- ETA Java Tutorial - Posting data to Contributions Channel
- EMA Java Consumer - Posting data to Contribution Channel
About the RCC ack delay issue, the WebSocket API is the server-side API, so you can contact the RCC support team directly via https://my.refinitiv.com/content/mytr/en/helpandsupport.html website to verify the issue on their end.
Alternatively, you can reach out to your LSEG Account team and arrange a discussion with the RCC product team to discuss your requirements/options further - as there may be additional limits on the RCC infrastructure.
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 中文论坛