Network saturatation
Hi,
I am using a non-iterative provider to stream data via RFA. The code closely follows the example provided in RFA/Examples.
However, I am encountering network capacity issues when streaming data at a high frequency of approximately 30,000 updates per second.
I am wondering if anyone else has encountered a similar problem. Is there a mechanism available to limit the bandwidth and address this issue?
Thank you,
Best Answer
-
Thanks for reaching out to us.
You can try the rfacppNIProvPerf test tool which is a performance non-interactive provider application. The tool is in the RFA package. The number of update messages per second may depend on the size of the update message.
Did you see any error messages? Typically, it may relate to the guaranteedOutputBuffers or maxOutputBuffers configurations of the RSSL_NIPROV Type Connection.
I hope that this information is of help.
1
Answers
-
Hi @Jirapongse
I run two tests but there weren't any error.
- TEST_1
--- TEST INPUTS ---
Run time (sec): 360
Service: <my_service>
Connection Type: RSSL_NIPROV
Host: <my_host>
Port: <my_port>
Input Buffers: (default)
Output Buffers: 40000
tcp_nodelay: false
forceFlushOnWrite: false
outBoundMessagePacking: true
Thread Binding (CPU): (default)
Item count: 100000
Update rate: 10000
Latency update rate: 10
Tick rate: 1000
--- SUMMARY ---
Overall Statistics:
Images sent: 100000
Updates sent: 3576500
CPU usage max (%): 66.29
CPU usage min (%): 12.27
CPU usage avg (%): 14.52
Memory usage max (MB): 324.16
Memory usage min (MB): 36.96
Memory usage avg (MB): 304.39
- TEST_2
--- TEST INPUTS ---
Run time (sec): 360
Service: <my_service>
Connection Type: RSSL_NIPROV
Host: <my_host>
Port: <my_port>
Input Buffers: (default)
Output Buffers: 20000
tcp_nodelay: false
forceFlushOnWrite: false
outBoundMessagePacking: true
Thread Binding (CPU): (default)
Item count: 100000
Update rate: 10000
Latency update rate: 10
Tick rate: 1000
--- SUMMARY ---
Overall Statistics:
Images sent: 100000
Updates sent: 3576154
CPU usage max (%): 63.17
CPU usage min (%): 13.48
CPU usage avg (%): 20.59
Memory usage max (MB): 201.32
Memory usage min (MB): 36.96
Memory usage avg (MB): 197.97
During the testing process, the streaming activity of other programs was affected, causing some clients to experience delays in receiving their responses.
Are there any alternative methods to benchmark the network's performance?
Thank you,
0 -
You can use the network packet analyzer tools, such as Wireshark, or TCPDump to capture and analyze the network packets.
You can contact your IT or network team to analyze the network packets.
0 -
I believe that adjusting the values of guaranteedOutputBuffers and maxOutputBuffers can have an impact on the network capacity. I'm looking for guidance on how to configure these values in my application. If you have any insights or suggestions, I would greatly appreciate them
0 -
Those buffers are used by the API to hold the data before sending it to the network.
For example, if the API can't flush data to the network, the data will be stored in those buffers. Then, the API will try to free the buffers by flushing the data to the network.
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 中文论坛