Start a conversation

Troubleshooting Delay in Processing First Request in Azure Environment

Overview

If you are experiencing a significant delay in processing the first request towards any Aurea endpoint in your Azure environment, this article is for you. The delay could be approximately 15 seconds or more. Subsequent requests are processed normally unless there is a period of inactivity for a few minutes, after which the delay issue reoccurs. This problem does not occur in all environments, only in Azure.

Solution

The issue seems to be related to the Azure environment settings. Here are the steps you can take to resolve this issue:

  1. Check the DNS resolution times in the Azure environment if the thread dumps indicate a delay in this area.
  2. Ensure that reverse DNS lookup is not disabled on Azure. This causes this delay as the product uses standard Java mechanisms to get the canonical hostname of the invoked service.
  3. As a workaround, consider disabling the Aurea Monitor visibility:
    -Dcom.actional.lg.interceptor.sst.disable=true
    This means you would not get any traffic reported from the AI instances on the AMS side.
  4. If the DNS resolution times remain high, work with your network team or Azure support to resolve this issue.
  5. Alternatively, check if the Virtual Machines (VMs) are positioned behind a load balancer. If so, review the TCP reset and idle timeout values that are currently set to it.

Summary

By checking the DNS resolution times, ensuring reverse DNS lookup is not disabled, disabling Aurea Monitor visibility, working with your network team or Azure support, and checking the settings of your load balancer, you should be able to resolve the issue of delay in processing the first request in your Azure environment.

FAQ

  1. What causes the delay in processing the first request in Azure environment?
    The delay could be caused by high DNS resolution times, disabled reverse DNS lookup, or incorrect settings of your load balancer.
  2. What can I do if the DNS resolution times remain high?
    You should work with your network team or Azure support to resolve this issue.
  3. What does disabling Aurea Monitor visibility do?
    Disabling Aurea Monitor visibility means you would not get any traffic reported from the AI instances on AMS side.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments