question

Upvotes
Accepted
24 1 0 6

Seeking Performance Improvement Advice for High-Frequency Batch Requests

I'm currently conducting performance testing on batch requests with Refinitiv ADS server and encountering some issues with response times in high-frequency scenarios. I would appreciate any advice to improve performance.

Scenario 1:

  • Frequency: 1 batch request every 20ms
  • Each request: contains 10 RIC codes
  • Totoal Requests: 3000
  • Response Time: Requests are completed between 100ms and 300ms

Scenario 2:

  • Frequency: 1 batch request every 10ms(higher frequency than Scenario 1)
  • Other Parameters: Same as Scenario 1 (10 RIC codes per request, 3000 total requests)
  • Issue: A significant number of requests are taking more than 1000ms to complete

I'm trying to understand why there's a drastic increase in response time in the second scenario and how I might optimize it. Is there a limit to the number of requests that can be efficiently processed per second?

Thanks

elektron#technologyema-apijavaperformance
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 @xinjames.chen ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21

Hi @xinjames.chen,

Your market data admin might be able to look at ADS logs and provide guidance why certain requests take longer. It may be some buffers on ADS and EMA side might need to be tuned. You can play with these buffer and TCP delay parameter configurations and look at the description in the EMA configuration guide.

In general, the response time from ADS will be fast if the requested instrument is in the ADS cache. Your admin might be able to increase the instrument cache and pre-populate it with frequent instruments.

In general however, if you need faster response look into horizontally scaling your application and connect to multiple load balanced ADSs. Using EMA C++ would also help, since it will send a true batch request.

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 @Gurpreet ,

What would you consider to be a "fast" response in case of 1 batch request is sent with 10 items being requested?

Specifically how long should an Omm Client take from the time it registers a single batch request with 10 items to receive all 10 Refresh messages?

@xinjames.chen @mzmuda33

This developer forum is for questions on and general discussions of Refinitiv APIs.

To verify the internal behavior of the APIs, please contact the API support team directly via Contact Premium Support. Then, the support team will verify if this is a problem in the application, configurations, or EMA API.


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.