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 /
  • EMA /
avatar image
Question by AMofidy-Rouhi · Feb 28 at 06:54 PM · pandasommconsumer

Pause/resume and decreasing the frequency of updates coming from an ADS.

Hi,

I have an ommConsumer that registers its interests and receives updates from the server. Sometimes the rate of updates is too high and I would like to either pause/resume or decrease the update rate. Is it possible at all? I am using Java and would be useful to see an example/code-snippet in case it would really be possible to slow down the update rate and pause/resume the updates.


Many Thanks.

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.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by zoya faberov · Feb 28 at 09:46 PM

Hello @AMofidy-Rouhi,

The rate of updates is set at the service level on the infrastructure. In can be every tick (TickByTick), it can be conflated. Would like to suggest to contact your market data group/admin to verify if an alternative conflated service is available to you.

I am guessing that the application may not be processing the updates quickly enough, and is being disconnected as a slow consumer. If this is the case, a couple of suggestions that may be helpful:

  • Threading- once the update is received, any heavy processing or interaction with external systems that requires wait should be handled by worker threads, outside of the callback.
  • Horizonal scaling can be used - see EMA Java example ex410_MP_HorizontalScaling
  • If your subscription instrument list is large - you may need to increase GuaranteedOutputBuffer parameter to accommodate your list, see EMA Configuration Guide for details, for example:
<GuaranteedOutputBuffers value="5000"/>
  • If significant number of the updates is not required, in receipt- do not process them further
  • If the market data is required infrequently, consider periodic snapshot instead of a continuous stream, see EMA Java example ex102_MP_Snapshot

Pause/resume can be requested, if supported by your infra, but not when application is being identified as slow consumer, for more information, see section Reissue Requests and Pause/Resume in RDM Usage Guide and example EMA Java ex350_MP_PauseAll.

Hope this information helps

Comment
Jirapongse

People who like this

1 Show 0 · 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
REFINITIV
Answer by Jirapongse · Mar 08 at 04:43 AM

@AMofidy-Rouhi

You may consider using the dynamic view to only subscribe to the required fields. This can reduce the number of updates and the size of messages.

You can refer to the ex360_MP_View example in the RTSDK package.

However, the server must support this feature.

Comment

People who like this

0 Show 0 · 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.

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

OmmInvalidHandleExceptionImpl invalid handle exception

OMM Consumer Config encryption query

Rolling event log files per day using Ema C++ SDK

OmmConsumerClient onUpdateMsg only updated fields

OmmConsumerClient Registration Count Recommendation

  • 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
  • FX Venues
    • FX Trading – RFQ Maker
  • 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
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges