DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Deploying changes without Site Downtime

 2 Replies
 2 Subscribed to this topic
 19 Subscribed to this forum
Sort:
Author
Messages
New Around Here Send Private Message
Posts: 22
New Around Here

Hi,

Whenever we need to deploy any changes that require a new dll or an updated dll to be placed in the production environment, our site takes 20 minutes to start as all the dlls are being rebuilt etc. This creates a 20 minutes downtime for us and has become a problem to keep the server down for so long. I am sure there must be a better way to deploy that I am overlooking. Can someone guide me on how one needs to do this so that the site downtime, if any, is minimal?

Thanks

Veteran Member Send Private Message
Posts: 546
Veteran Member
this sounds like an issue with your server, 20 minutes are for sure too long for a site startup and bare the risk of a timeout. Check the server resources assigned to your site and review the number of extensions installed on your site. I'd also check server logs for any timeouts happening during the start process.
Veteran Member Send Private Message
Posts: 1245
Veteran Member
If things are taking 20 minutes, then you need to change your approach to the site. I'm guessing that you have a large number of custom modules that need to be compiled. The way to solve this is to switch your module development approach to creating modules that are compiled and installed with their dll files ready to go. Whenever you make changes, there will be a small amount of downtime as the site loads for the first time. Usually this should be a few minutes or less.

These Forums are dedicated to the discussion of DNN Platform.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved