question

Upvotes
Accepted
129 15 25 31

Throttleing in EMA Application

RFA (Robust Foundation API) used to provide two request throttle implementations. The first, a timer throttle, sends requests to the infrastructure at a fixed rate. The second, a count throttle, limits the maximum number of pending requests that have not yet received a refresh Both of them can be handled via configuration i.e.

\Connections\Connection_idn\throttleType = "timer"

\Connections\Connection_idn\throttleRequestsPerInterval = 100

\Connections\Connection_idn\throttleTimerInterval = 1000

\Connections\Connection_idn\throttleEnabled = true

I am wondering how we can achieve similar throttling in EMA application ?

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.

1 Answer

· Write an Answer
Upvotes
Accepted
11.3k 25 9 14

Currently, EMA doesn’t provide the request throttling feature like RFA. This means that all requests registered by application will directly be sent to server.

For example, if application are sending a batch request with instruments around 50K in a single batch (assuming that there is no error during batch request encoding), EMA will try to send all 50K request message to server.

In this case, you may need to implement EMA application to throttle requests before sending them to EMA.

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.