Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /

For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by david.lam · Jan 29, 2018 at 11:36 AM · elektronrefinitiv-realtimeelektron-sdkrmds-test-clientsink-driven-source

Recording and playing back message received timestamp in rmdstestclient and sink_driven_src tool

Is there a way for us to configure the rmdstestclient to also record the timestamp at which each message was received and then have the sink_driven_src put that timestamp in a separate FID of the message during playback? This would allow us to more accurately simulate exactly what happens when consuming the data in a live production setting.

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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Nipat Kunvutipongsak · Jan 29, 2018 at 11:29 PM

For rmdstestclient, you may try using option -m and -micro to log the message timestamp.

Here there are the descriptions:

    -?                 print help (False)
    -S                 Service Name or Comma Separated Services List. Max 10 Services can be specified. Format serviceName@connectionType@SvrHostname@sipcVersion
    -f                 Item List File
...
   -m                 Prepend timestamp (milliseconds) (False)
   -micro             Prepend timestamp (microseconds) (False)
...

For example,

rmdstestclient -h 192.168.27.46 -S API_ELEKTRON_EPD_RSSL -u rmds -f items.txt -X -V -a

And this is another example for adding -m and -micro to running arguments:

rmdstestclient -h 192.168.27.46 -S API_ELEKTRON_EPD_RSSL -u rmds -f items.txt -X -V -a -m -micro

The time values are timestamp when rmdstestclient receives messages.

Hope this helps.


without-m-micro-option.png (110.3 KiB)
with-m-micro-option.png (109.0 KiB)
Comment

People who like this

0 Show 4 · 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
david.lam · Jan 30, 2018 at 10:50 AM 0
Share

Understood. Is there a way to include these timestamps in the message (either in a separate FID in the message) when sink_driven_src plays back the data? Ideally I want the client receiving the playback message to be able to figure out exactly what time the message was recorded.

avatar image
REFINITIV
zoya faberov ♦♦ · Jan 30, 2018 at 12:10 PM 0
Share

@david.lam

No, sink_driven_src uses "capture" file to replay data, while the received timestamps are recorded into "log" file.

For end-to-end latency measurement, you may find useful the performance tools that are included within Elektron SDK, EMA->Examples->PerfTools, complete with the source code

avatar image
david.lam zoya faberov ♦♦ · Jan 30, 2018 at 12:47 PM 0
Share

Got it. Is there anyway for us to get the source code to rmdstestclient and sink_driven_src so that we can make custom modifications to it?

avatar image
REFINITIV
zoya faberov ♦♦ david.lam · Jan 30, 2018 at 01:26 PM 0
Share

Both rmdstestclient and sink_driven_source are part of infrastructure tools, not developer kits, so no, the source code is not available.

To simulate exactly what happens in production, in terms of time received, you may wish to talk to your Account team about a product called ReplayService

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 >
9 People are following this question.

Related Questions

How to dump out data dictionary in rmdstestclient

What is the rule you create guid for news in MRN in Elektron?

sink_driven_src : error RSSL_RET_BUFFER_TOO_SMALL when loading XML dictionary

RSSL_DMT_MARKET_PRICE refresh/upfate message datasize field

my data capture file segfaults on sink_driven_src.

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges