Node Web App on Linux - Without Docker?

Matt Brown 5 Reputation points
2024-07-03T15:13:13.66+00:00

We recently moved some node web apps running as App Services from Windows to Linux. In doing so we noticed the apps now get launched in a docker container.

  1. The deploy is incredibly slow going from a bitbucket repo into a dockerized app. Like 30 minutes plus. Compare that to just a few minutes max on Windows.
  2. I'm also finding that the container is recycled from time-to-time and/or aborted completely, destroyed and then restarted.

We're trying to get our arms around all of this so any relevant documentation links would be appreciated. Also, we're wondering if we can run the app on linux WITHOUT having it run in a container.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 17,960 Reputation points MVP Moderator
    2024-07-03T15:30:35.47+00:00

    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:

    Please let us know if further questions

    Kindly accept if it helps

    Thanks

    Deepanshu

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.