The performance of application reduced drastically after implementing App Gateway

Satyam Chauhan 547 Reputation points
2023-09-18T07:22:35.6866667+00:00

Hi,

I have an application gateway with tier WAF V2, Capacity type: Manual, Instance count: 2, it has 2 backend app services.

Earlier when I was using directly the app services url to access the applications it was working faster, but after integration of application gateway before the app services the performance of the application has reduced drastically, and many times it gives error 504 Gateway time out.

The configuration of custom health probe is:

protocol: HTTPS

path: /

interval seconds: 30

timeout seconds: 300

unhealthy threshold: 3

http response status code match: 200-399, 404  
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,048 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AirGordon 7,120 Reputation points
    2023-09-18T07:57:57.4333333+00:00

    Enabling WAF does indeed impair the performance of your application.

    I suggest that you leverage telemetry (such as Azure App Insights) to measure the end to end latency. Once you have gathered sufficient data you can share that here, and we can comment if it is out of the expected range.

    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.