My question is knowledge question, it is not for fixing a bug or a task, I see when we use capistrano to deploy application to server, capistrano do many action like, pre complile, migrate, restart puma... I confuse while capistrano is working, my website is still live because I see capistrano need restart puma. I think capistrano make a copy version of web and wait until deployment is finish and switch to new state.
This is a question interview I am asked. So please explain for me.