Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET core app hosted on azure first request very slow

I have an issue with my .NET core app hosted on Azure. Everything works fine in production but the first request after an inactivity period is very very slow (sometimes up to 10-15 seconds).

I don't get where the issue comes from because it didn't happened previously when I was hosting the app on DigitalOcean.

I added below some screenshots of the app on Azure. Could you please let me know if anyone of you already met a similar issue?

Thanks a lot!

App Service Details App Service Details

Linux Plan Details Linux Plan Details

Slow Request Example Slow Request Example

App Service Configuration App Service Configuration

like image 980
smil0h Avatar asked Dec 27 '25 20:12

smil0h


1 Answers

I know it's a bit late but you can prevent the app to go idle with this setting:

Settings >> Configuration >> Always on: On

enter image description here

like image 144
amirdaraee Avatar answered Dec 30 '25 15:12

amirdaraee



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!