问题原文
原帖链接 · A_toaster · CC BY-SA 4.0
I have an app service plan that has scaled out to two instances. I've managed to get the statistics on the two instances and one of them is at 100% CPU, and the other is at 5% CPU. This is an issue because it seems all HTTP requests are being sent to the one at 100% CPU usage, and thus the web page is loading very slowly.
I have turned off ARR Affinity as per this page
Is there another reason why all API and HTTP requests are being sent to the same instance? What can I do to balance the load fairly between the two instances?
已采纳解答
原帖链接 · A_toaster · CC BY-SA 4.0
So the problem fixed itself when I downscaled from P2v2 to S3. These are both exactly the same price, one is premium tier, the other is standard tier.
All requests are now being balanced evenly and the website response time has dropped from 10-12 seconds to 60ms, as a good website should.
Still not sure why it happened in the first place
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
