log.txtI am currently conducting a performance test using the EMA API and have encountered an issue with the timing of batch request processing. My test involves sending 40 batch requests simultaneously, each containing 22 symbols.
I received all 40 status messages indicating "Close/OK/None/Stream closed for batch" at 16:30:06.xxx.However, I observed that the last outgoing reactor message(the request message) was sent to the EMA API at 16:30:10, which is 4 seconds later than the status messages. and the last incoming message(the refresh message) was received at 16:30:11. This delay seems to indicate that not all request messages are being sent simultaneously, resulting in a 5-second lag in receiving the final refresh message. My goal is to optimize this process so that all request messages are sent without this lag, allowing for earlier reception of refresh messages.
Are there specific settings within the EMA configuration that I can modify to enhance the performance and reduce the delay in message processing.
I have additional observation from the log files. At the start, the application sends about 10-20 requests to the EMA API. After receiving the first response(the refresh message), the application shifts to a pattern of sending a request and then processing a response before sending the next.
I'm using EMA JAVA 3.7.2.