question

Upvotes
Accepted
2 2 1 4

EMA - retry frequency and maximum times controls

Dear team

Client is using C++ EMA client taking data from ADS. In this model EMA controls re-subscribing and seems no limit on re-try times. This could cause client CPU and memory running hot if they are taking US option data, 1.3 million RICs plus more from other market. Please could you confirm if any way they can control how many second would EMA second wait before next re-subscribe attempt and if they can set after X times their system should report error rather than keep re-subscribing? Thank you

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apic++
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
38.1k 71 35 53

@Xiaorong.Xu

There is a RequestTimeout configuration in EMA C++ to set the amount of time (in milliseconds) the OmmConsumer waits for a response to a request before sending another request.




1616389150100.png (23.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Thank you Phuriphanvichai. Could you please confirm if possible to set maximum retry number? Thank you.

Upvotes
38.1k 71 35 53

@Xiaorong.Xu

I couldn't find a configuration that controls the retry limit.

However, the application itself can stop resubscription by calling the OMMConsumer::unregister method with the item handle.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea