several factors could contribute to slow deployment times and container recycling issues:
- Network requests taking a long time
- Inefficient application code or database queries
- High memory/CPU usage
- Application crashing due to an exception
Here are some relevant resources that might help you troubleshoot and optimize your deployment:
- Best practices and troubleshooting guide for node applications on Azure App Service Windows
- https://learn.microsoft.com/en-us/visualstudio/javascript/publish-nodejs-app-azure?view=vs-2019
- Deploy a Node.js web app in Azure
- Deploy a Node.js + MongoDB web app to Azure - Frequently asked questions
- Troubleshoot slow app performance issues in Azure App Service
- Deploy a Node.js web app in Azure - Redeploy updates
Please let us know if further questions
Kindly accept if it helps
Thanks
Deepanshu