question

Upvotes
Accepted
129 6 14 23

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-sdkrrtema-apielektron-message-api
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.

1 Answer

Upvotes
Accepted
11.3k 25 8 13

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea