question

Upvotes
Accepted
1 0 0 2

Throttling incoming data

My server application reads ticks from Elektron and sends them UDP to another application. The other application cannot keep up and UDP is being lost.

As an interim measure I want to throttle the rate at which my server application sends ticks.

I see some Elektron configuration that may help me, but it is not explained well in the manuals, so I cannot be sure.

Please, can anyone help me, or point me at documentation that explains the effects of changing the following settings:

  • DispatchTimeoutApiThread
  • MaxDispatchCountApiThread
  • MaxDispatchCountUserThread
  • MaxOutstandingPosts

The manual I have gives one sentence on each, which is not sufficient to understand. I basically want to reduce the rate at which the Elektron API gives me data, and if necessary increase its internal buffers so spikes in data rate accumulate there instead of being dropped from my clients UDP multicast buffer by the OS, which is what currently happens.

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-api
icon clock
10 |1500

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

Hi @iain.morris

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

@iain.morris

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21

@iain.morris

Configuration changes in the API will not help when consumer is slower than producer. Your options are to either turn-on conflation in the infrastructure (ask your market data administrator), or programatically conflate multiple updates from EMA, before sending it.

EMA internally buffers the update messages, but at some point the application will run out of memory, if they are being removed at a slower rate.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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