How do you update backend web services without downtime?

Meghan (she/her) - May 31 '18 - - Dev Community

This is a bit of a r/NoStupidQuestions kind of post.

I've made a handful of projects in the past that use PHP and as someone who has recently fallen out of touch with the backend side of things, there is one thing that has escaped me about using other languages on the server. How do you update them without downtime?

  • My current understanding is that you'd have to stop the process and restart it with the updated program.
  • This is why I've historically stuck with PHP, since you can overwrite the files on the fly.
  • Is this where things like Docker can help?
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player