Azure Network Limits Impacting K6 Performance Testing - Stack Overflow

I am running K6 inside AKS to perform load testing on a website hosted in Azure App Service. However, o

I am running K6 inside AKS to perform load testing on a website hosted in Azure App Service. However, once the test reaches 1000 virtual users (VUs), the requests start returning status 0 with a dial i/o timeout error.

I have also observed the same issue when testing a static website hosted in Azure Blob Storage behind an Application Gateway.

Could there be any network configurations or limitations in Azure that are causing this issue?

I am running K6 inside AKS to perform load testing on a website hosted in Azure App Service. However, once the test reaches 1000 virtual users (VUs), the requests start returning status 0 with a dial i/o timeout error.

I have also observed the same issue when testing a static website hosted in Azure Blob Storage behind an Application Gateway.

Could there be any network configurations or limitations in Azure that are causing this issue?

Share Improve this question edited Apr 2 at 20:34 Mihir Saxena 72 bronze badges asked Mar 27 at 9:47 prosecutorprosecutor 194 bronze badges 1
  • Try to deploy a NAT Gateway to the AKS subnet and assign multiple public IPs for more SNAT capacity. Scale your App Gateway and App Service to higher SKUs to prevent throttling under high load. Optimize DNS resolution in AKS by scaling CoreDNS and reducing unnecessary lookups in K6. If this does not fix the issue, consider running K6 from outside AKS such as from a VM in the same VNet or by using Azure Load Testing to isolate whether the problem lies with AKS networking specifically. – Arko Commented Apr 2 at 9:49
Add a comment  | 

1 Answer 1

Reset to default 1

Azure Network Limits Impacting K6 Performance Testing Troubleshooting

Thanks, @arko, for guiding in the right direction, I do agree with the points you shared.

As you mentioned, when running load tests with a high number of virtual users, sometimes connection limits which results in timeouts or failures. To overcome these, follow the steps mentioned below.

As per the Microsoft doc shared, deploy a NAT Gateway in the AKS subnet and assign multiple public IPs to provide increased SNAT capacity.

Because of this the outbound traffic are possible without hitting SNAT port exhaustion limits which results in overcome the blocker mentioned.

Also refer to Stack link answered by marcor92 & also Q&A link answered by msrini-MSFT discussing on the similar issue.

Scale CoreDNS in AKS to handle more DNS queries efficiently. Additionally, optimize your K6 test script to reduce unnecessary DNS lookups by minimizing hostnames or caching DNS results when possible.

Refer:

https://learn.microsoft/en-us/azure/application-gateway/high-traffic-support

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744098506a4558389.html

相关推荐

  • Azure Network Limits Impacting K6 Performance Testing - Stack Overflow

    I am running K6 inside AKS to perform load testing on a website hosted in Azure App Service. However, o

    8天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信