Slow response on the authentication requests : Same application is deployed in AWS Kubernetes and responds within 1 seconds with Azure AD Oauth request. However in Azure Kubernets this goes to 4-6 secs delaying overall loading time to 14-15 seconds

Nikhil Singh 5 Reputation points
2024-10-02T08:11:33.5633333+00:00

Slow response on the authentication requests : Same application is deployed in AWS Kubernetes and responds within 1 seconds with Azure AD Oauth request. However in Azure Kubernets this goes to 4-6 secs delaying overall loading time to 14-15 secs.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,127 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,316 Reputation points
    2024-10-03T05:30:36.8533333+00:00

    Hello Nikhil Singh

    Thanks for reaching out on Microsoft Q&A Platform.

    The slow response on the authentication requests could be due to various factors.

    One of the factors that affect performance is the quality of the networking between the connectors. One suggestion here for the best performance, connect your organization to Azure with Express Route.

    Another factor that could affect the performance is the backend applications. In some cases, there are additional proxies between the connector and the backend applications that can slow or prevent connections.

    If the above factors are not the cause of the slow response, it could be due to other factors such as the size of the cluster, the number of nodes, or the resources allocated to the nodes. You can try scaling up the cluster or increasing the resources allocated to the nodes to see if it improves the performance.

    If you are still experiencing slow response times, run performance tests in both AWS and Azure environments to compare detailed logs and trace the exact point of latency in the OAuth request process. Then you can try to file a support case to get this checked by support engineer.

    Hope this helps.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.