How much RequestMsg per EMA Consumer C#

Using EMA C#, I wonder to know if there is a limit of the number of subscriptions/RequestMsg per OmmConsumer ?
In fact I have 10000 rics that I need to monitor them, thus I create an OmmConsumer object and then using this consumer I create my subscritpions using :
var ommConsumerConfig = new OmmConsumerConfig(options.Value.RootDirectory)
.ConsumerName(consumerName)
.UserName(options.Value.UserName);
var consumer = new OmmConsumer(ommConsumerConfig); // 10000 rics foreach (var ric in rics)
{ var requestMsg = new RequestMsg(); requestMsg.ServiceName(ric.Source).Name(ric.Ric).DomainType(6); var id = consumer .RegisterClient(requestMsg, this); } //….
Now what I can see is that :
1- 🤨 Once I create the consumer memory increase by 500Mb
2-🙄 After the 1000 subscriptions I cannot receive responses for the rest of rics
So is it good to use the same consumer for all susbcriptions ? and why memory increase by 500Mb for each new consumer ?
Reagrds,
Moez
Best Answer
-
The infrastructure will definitely provide a response - either positive or negative (status message) for every subscription. It might be possible that some of these responses are getting lost in your application. Could you give it a try with one of the EMA examples and also turn on the OMM logging in the SDK.
You can also ask for the logs from the ADS to see what is happening in the infrastructure at that time.
0
Answers
-
Hello Moez,
I don't see any limit of 10k instruments in the code. What status message do you get for the other instruments? In the real time space - it is the update rate and not the number of instruments which are the bottleneck. These numbers are not a hard limit and will vary based on machine being used, quality of the network and the RTMDS infrastructure providing the data.
If the combined update rate is low or the feed is conflating data, then the instrument limit can be quite high. Multiple consumers cannot alleviate these issues, if you start running into slow consumer or bandwidth limitations.
You can also try the Batch subscription example from EMA .NET.
0 -
Hello @Gurpreet
Thank you for your prompt reply.
In fact I did not put all the code I used (I can provide you with a Sample if it's needed )
and In my case, for a single OmmConsumer I m retrieving only two fileds using View ( thus not many updates)
I did not get any status message for my subscriptions, but for many of them I did not receive any message after even 3 minutes, however when try to send a single request for one of the non responding requests, I got an immediate response.
0 -
Thank you,
In fact it was an issue on my implementation
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛