aspnet / dnx

OBSOLETE - see readme
Other
963 stars 224 forks source link

Long time to restart dnx process #3418

Closed Ro3A closed 6 years ago

Ro3A commented 8 years ago

I have an app service (Asp.Net Core rc1, dnx 4.5.1) deployed to Azure. During deployments, or after changing an app setting, the dnx process is killed off and a new one is created as seen in Process Explorer.

The process of recycling my app takes up to 8 minutes sometimes and it's a super lightweight app.

I use redis for session but swapping slots results in users being kicked out anyway because app service slots don't have a use a common machine key. So I've resorted to deploying from Visual Studio but the app recycle takes so long it's impossible to deploy without interrupting users.

Any ideas to speed up the process?