Péťa Poliak
Péťa Poliak

Reputation: 411

Azure AppService multiple instances no parallel handling

I wanted to benchmark cloud services so I wanted to run this php benchmark on azure App service. When i have 1 core 1 instance app service plan, the incoming requests are handled one by one (no parallel handling). When I switch to 2 core plan, the requests are handled parallel to each other. BUT when I use 1 core plan and 2 instances, it doesn't handle the requests in parallel. So what do instances exactly do, when the app runs only on one?

Upvotes: 0

Views: 327

Answers (1)

Péťa Poliak
Péťa Poliak

Reputation: 411

So my problem was caused by two things:

  1. there is ARR affinity , which makes consecutive requests go to the same instance, here is tutorial how to disable it.
  2. I didn't know about Google's 6, so my requests were stalled locally

Upvotes: 1

Related Questions