Wednesday, May 23, 2012

MVC3 EF app in Azure, why do I have to warm it up every once a while?

I am testing my MVC3 + EF app hosted in Azure. The problem I am having now is that every once a while, say 4-5 hours or a day, when I try to visit the page, it is very slow. It takes about 6-8 seconds to load, then the second load would be a lot faster. I have static content cahced, js at the bottom of the page. So I suspect this is because of warm up, but my question here is why do I have to warm it up once a while.



PS: my app is deployed in production environment, I haven't launched it, so it is only me and my team mate been visiting it so far, it has less then 10-20 page requests from us in day, mostly happen at night time.





No comments:

Post a Comment