I was doing a performance test on our TREP using sink_app and sink_driven_src with rmdstestclient.
It was the first such test I'd done since moving from IDN to ELEKTRON. I had trouble getting newer versions of sink_driven_src to run (I'm assuming there are newer modifications I needed to make to my capture file). I was able to get the version working that I used in 2010 (ssl4.2.F38). That version is not multi-threaded. Are newer versions multi-threaded? If so, I may need a little guidance as to additional capture file manipulation. @ron.bove
Best Answer
-
You can use sink_driven_src to replay the data captured by
rmdstestclient.The data can be recorded in XML format or binary format.
1. XML Format
You can use rmdstestclient with the following options
to record the RWF data in XML format../rmdstestclient –S ELEKTRON_DD –ef rics.txt –h 192.168.27.48 –p 14002 –ct rssl –u user01 –rf 8 –of outputRWF.xml
rics.txt
6|JPY=
6|IBM.N
6|SCB.BK
6|TRI.NOutput:
rmdstestclient will generate outputRWF.xml file.
<?xml
version='1.0' encoding="utf-8" ?>
<xmlReplayData useMultipleBuffers="0">
…
<updateMsg rwfMajorVer="0" rwfMinorVer="0" mType="RWF_MT_MARKET_PRICE" streamId="5" dataFormat="RSSL_DF_FIELD_LIST" updateFlags="0x98" updateType="0" sequenceNo="17230" dataSize="20">
<key flags="0x7" serviceId="54151" name="JPY=" nameType="1"/>
<dataBody>
<fieldList flags="8">
<fieldListField fieldId="114" dataType="RSSL_DT_REAL32" data="0.11"/>
<fieldListField fieldId="270" dataType="RSSL_DT_ENUM" data="27"/>
<fieldListField fieldId="271" dataType="RSSL_DT_ENUM" data="27"/>
<fieldListField fieldId="272" dataType="RSSL_DT_ENUM" data="26"/>
</fieldList>
</dataBody>
</updateMsg>
…
</xmlReplayData>Then, you can use sink_driven_src to replay the
recorded XML data../sink_driven_src –S ELEKTRON_DD –K –N 14002 –ik –Q outputRWF.xml –U 10
The above command will publish the recorded XML data for a
given service (ELEKTRON_DD) on port TCP/14002 with the starting update rate 10
updates per second in interactive mode.2. Binary Format
You can use rmdstestclient with the following options to
record the RWF data in binary format.rmdstestclient –S ELEKTRON_DD -ef rics.txt -h 192.168.27.48 -p 14002 –ct rssl –u user01 –rf 8 –obf outputBinary.bin
outputBinary.bin will contain the recorded binary
data.Then, you can use sink_driven_src to replay the
recorded binary data../sink_driven_src –S ELEKTRON_DD -K -N 14002 -ik -bdf outputBinary.bin –U 10
The above command will publish the recorded binary data for
a given service (ELEKTRON_DD) on port TCP/14002 with the starting update rate
10 updates per second in interactive mode.0
Answers
-
Hi John,
Are able to provide some additional information on the nature of the difficulties you are facing?
What behaviour do you experience when running sink_driven_src - e.g. error messages?
Can you confirm which newer version you are using / package version you obtained the binary from?
Thanks.
0 -
I used sink_app and not rmdstestclient to capture the data. I appreciate this answer and may change how I run this test in future. I will look at this given the time. The test tools I used were from the rmds_hwq1.0.0.L1.sou package (pre-TREP).
Since I was able to get the test to run; and the breakpoint was the test tool, I am mainly focused to see if there is any confirmation of a version of sink_driven_src that is multi-threaded. If anyone knows this I can adapt this and possibly use it to run the test more like @jirapongse.phuriphanvichai had laid out here.
0 -
I have run sink_driven_src from ADH3.0.2.L1 package (Solaris). Then, I used prstat -L -p <pid> command to verify the number of LWPs (Light Weight Process) in sink_driven_src process. It showed that there is only one LWP running in sink_driven_src process while it is replaying the data.
However, I have submitted a case to ADH support team to confirm it. The case number is 04793360.
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 中文论坛