What are the expected performance characteristics of an Azure Function App in Consumption mode? -


what expected performance characteristics of azure function app in consumption mode?

i going ask ... how can carry out realistic testing of azure function app?

a person in team knocked perl script forked off , called our function app crudely simulate sort of load we're hoping cope with, e.g. starting 150,000 users, calling 10 time second

the script running on beefy vm running on in google

things started ok lower numbers, started getting timeouts

we must doing "wrong", sort of assume function app's can cope sort of load ... but what?

... , can cope load in consumption plan mode?

you can arr-affinity cookies , see if causing scaling problems.

when performing load testing function noticed traffic going 1 instance, , turned out problem aar-affinity cookies. load client being directed same function instance every request, not scaling out meet demand.

you can disable behavior see if better scaling behavior.

https://blogs.msdn.microsoft.com/appserviceteam/2016/05/16/disable-session-affinity-cookie-arr-cookie-for-azure-web-apps/

or adding response header.

headers.add("arr-disable-session-affinity", "true");


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -