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 niz · Aug 24, 2020 at 12:44 PM · elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apijavaOMM

Initial image with large number of instruments

A batch request has more than 1000 instruemnts as a stream (intrest after refresh TRUE), the initial request take 30+seconds (initial image) what possibilities are there to improve the performance of the initial request.

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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Aug 24, 2020 at 02:18 PM

Hi @niz

Can you confirm if you mean 30+ seconds to receive all Initial images or just the 1st image?

The time taken to receive the responses will depend greatly on a number of factors, for example, your network, the load on the servers you are connecting to, the number of fields in the Initial Image etc.

In terms of improving the performance, a few suggestions which may help:

  • Use a VIEW request to reduce the number of fields and thereby the amount of data being transmitted and processed
  • If you are connecting to an ADS server, you could experiment with two OmmConsumers - each one connecting to different ADS?
  • Try throttling the request into smaller batches - may help the API better balance its processing of incoming and outgoing messages


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.

avatar image
Answer by niz · Aug 24, 2020 at 03:40 PM

Thanks for the update.

The request is a batchview with bid/ask.The omm consumer instance is new. And the list of instruments could have some invalid ones or some that the user has no dacs permission to, so those will have their stream id, which seems to differ from the handle id returned on the onrefresh will that id be used to close each item? Since there is no need to listen for its updates. Also would the dictionary have an effect based on its type for example minimal.

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.

avatar image
REFINITIV
Answer by umer.nalla · Aug 24, 2020 at 04:22 PM

Hi @niz

Please see my reply to your other questions which should address some of the points you raise above.

If you are not interested in Updates and only the initial image, then you should set InterestAfterRefresh to false so that the API automatically closes the stream for you, once it has provided the Refresh (or StatusMsg in case of invalid instrument/request)

consumer.registerClient(reqMsg.serviceName("DIRECT_FEED").name("IBM.N")
.interestAfterRefresh(false), appClient)
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 >
12 People are following this question.

Related Questions

Message "Attempt to get servieId while it is not set" on client registering and no progress after it

(JAVA) Does using interestAfterRefresh(false) remove the need for deregistering items with Elektron?

OmmConsumer and DACS onbehalf

How can I Avoid making database call in onUpdateMsg but need result to be stored in database.Can I have an example?

We need price & quantity with Broker ID in SEHK in orderbook per L2 market feed? is there such kind of information?

  • 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