this post was submitted on 22 Jun 2024
158 points (98.8% liked)
Programmer Humor
32373 readers
555 users here now
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.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
Typically either downtime or taking the server off of the load balancer, depending on scale.
All of this is automated in modern container orchestration tools like kubernetes, though.
Thanks, yeah I'm well aware that this is not a problem in proper setups. I was just wondering what a company that is large enough to care about downtime and at the same time has staff manually click around in filezilla would do.