Home > other >  GoLand how to realize the hot deployment, need not modify the program after every time to restart
GoLand how to realize the hot deployment, need not modify the program after every time to restart

Time:09-26

GoLand how to realize the hot deployment, need not modify the program after every time to restart,

Java, for example, the idea of equal plugin

CodePudding user response:

In fact, the so-called hot deployment to restart, this to all the compiled languages are so,
Just like Java virtual machine to load in behind, you don't have a sight and obvious waiting.
Don't need to restart the only interpreted scripts, so there is no need to struggle the. As long as the compilation speed, restart time is not long to go.
Golang also have hot deployment tools, but this is you change file automatically detected to recompile automatically restart easier.

CodePudding user response:

If you use beego framework, bee have hot deployment in the command

CodePudding user response:

The real web project environment, hot deployment is a bad way:
1. The official version is the customer in use, in the case of not inform modify functions, is the play rascal
2. Complete customer allows software updates to the iterative need a little time
3. Hot deployment cause compilation fails or configuration issues, lead to the online version collapse
In my opinion, hot deployment is just at the time of development more convenient

CodePudding user response:

The
reference 3 floor response:
real web project environment, hot deployment is a bad way:
1. The official version is the customer in use, in the case of not inform modify functions, is the play rascal
2. Complete customer allows software updates to the iterative need a little time
3. Hot deployment cause compilation fails or configuration issues, lead to the online version collapse
Hot deployment, in my opinion, just at the time of development more convenient

Who will be in a formal project with this hot deployment, affirmation is to develop the ah, is really suit,
  • Related