Entity Framework 6.1 Slow on 'Cold Start' Only When Running in Azure Cloud Service -


while found ef code first known slow on cold starts after following many suggestions have cold start time down 2 seconds locally. have simple 6 table\model dbset.

using on-prem database , after deploying app web role cold start goes 10 seconds. queries , actions after initial start, while slower running local, acceptable.

i've enabled ef logging , see takes 3.5 seconds dbcontext class instantiated until 'opened connection...' log entry. next ef log entry first sql statement getting ready execute occurs 5 seconds after 'opened connection...'.

i can understand 3.5 seconds open connection cloud on-prem (local connect speed .5) next 5 seconds, .6 local, big unexplained hit. have precompiled views , tried database first version 5 second gap there.

anyone else experiencing cold start hit in azure.....any ideas?


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -