I want to deploy a currently running website(php,python,ROR and what ever).
And my code is hosting in git.
I read about 'deploy your website changes using git
and it's useful. But it has a problem. It'll interrupt the production server.
Althought the time is short. But if our server is heavy load. It also interrupt the user.
So my question is how to deploy code to the production server without interrupting.
Assume several situation.
Only one production server.
Is it the only viable method is stop the production server and wait until the deployment is completed?More than two production servers.
I know we can stop one production server and deploy to it, then deploy to the next server until complete.
But is there any method to do this better?
All of the method should be auto. Thanks!