I am learning some basics of server side coding in java and i know enough about how to run this server using command line (in ubuntu system) but what I don't understand is how can i manage this server..? For example, if I want to update the code in the server or add a new feature what steps do i need to take, do i have to stop the server update the codes and then restart it..? It will be helpful if i get proper links for information about managing servers and how medium to small companies manage there server,if they use some particular architecture for it please provide me with information regarding it Thanks
It’s a very broader question and very often asked in interviews as well. I am on mobile so can’t go in detail but read below...
Google Zero Downtime Deployment:
Zero downtime deployment is a deployment method where your website or application is never down or in an unstable state during the deployment process. To achieve this the web server doesn’t start serving the changed code until the entire deployment process is complete.