I personally am familiar with 2 organisations with millions of dollars in annual revenue that deploy critical line of business applications like this in 2024
With something like this, how do you handle the period of time while copying? I mean you can’t really leave it running as it wouldn’t be in a consistent state. A “under maintenance” page instead? Copy to a fresh folder and when done tell the webserver to serve the new location?
YOLO: especially with thugs like PHP you only affect one page at a time and with low traffic the odds of a problem is small
Maintenance page: temporarily show a page. Some servers like IIS have this built in. Otherwise it’s a simple update to httpd conf
In a cluster environment, just take the node you’re updating out of rotation, and only update one node at a time.
Copy and switch like you suggested. Can be combined with any of the above and is a smart move if upload is slow or can be interrupted, or it’s cumbersome to restore the old files
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
I personally am familiar with 2 organisations with millions of dollars in annual revenue that deploy critical line of business applications like this in 2024
Ftp deployments are supported in azure web apps too, and widely used.
I just came by an org recently that serves intermediate ca certs that way ¯\_(ツ)_/¯
Oof…
With something like this, how do you handle the period of time while copying? I mean you can’t really leave it running as it wouldn’t be in a consistent state. A “under maintenance” page instead? Copy to a fresh folder and when done tell the webserver to serve the new location?
It depends. I’ve done it a few different ways:
Edit: spelling
deleted by creator