Hi @Ray Chamidullin ,
I am having the same issue on my application. Could you please suggest how you fixed this issue?
Thanks in advance,
Sriguruvel Rajendran.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have a Container App with the following configuration:
Session Affinity is working correctly, except it starts to fail when the Container App auto-scales and adds new replica.
I am testing this with a Locust load-testing script. The script sends requests with Session Affinity cookies. Everything works fine when low number of concurrent users is set. When I increase the number of users some requests start to receive "Session not found" error from my application. This means that some replica is getting requests that should go to another replica. I noticed that the errors start to arise when Container App adds new replica. See the screenshots below, errors started to emerge at 1:40 pm, the same time when Container App added new replica.
I ran a similar experiment but disabled auto-scaling (I set min and max replicas to 2). In this case I am not getting any "Session not found" errors and the Session Affinity is working as it should.
My Questions:
Replica Count from Container App metrics:
Failures per second chart in Locust dashboard:
Hi @Ray Chamidullin ,
I am having the same issue on my application. Could you please suggest how you fixed this issue?
Thanks in advance,
Sriguruvel Rajendran.