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 ?

Best Answer

  • 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.