当前位置:网站首页>What is the difference between hot deployment and hot loading?
What is the difference between hot deployment and hot loading?
2022-07-25 23:30:00 【Carefree hero】
What is hot deployment and hot loading ?
What is hot deployment ?
Full name of hot deployment Hot deploy, Mainly for containers or applications , If new resources are added or part of the source code is updated , Reload or deploy without restarting .
What is hot loading ?
Full name of hot loading Hot Swap, Mainly for the byte code generated by the compiled source code , After recompilation , No need to shut down , Directly reload the new bytecode of the updated file into memory .
Personal understanding : Hot deployment and hot update are mainly to solve the poor experience and efficiency caused by frequent restart of services . Hot deployment can be done from 0-1, Or from 1-1, such as Buy instant noodles and soak them in boiling water at home , Or boil soup with pork ribs . Hot loading is very limited , Just like your limited conditions on the high-speed rail , Only add boiling water to boil dry .
Comparison between hot deployment and hot loading
Comparison name | Thermal deployment | Thermal loading |
Need to restart | Unwanted | Unwanted |
Needle face | Entire application or container , New or reduced documents 、 Folder | Local ( For changing source code ) |
Memory clear | Meeting | Can't , May trigger OOM |
Last
Do not manage hot deployment and hot loading , In fact, the ultimate goal is no need to restart the service , Realize automatic service loading , It's just that hot deployment is more comprehensive , For the whole project , While the hot load only makes partial updates to the changed file code , Invalid for new file or directory , Need to redeploy . Of course for java language , Hot loading is a relatively mature technology , And for tomcat Hot deployment is also a comparative method , Throw the document directly into webapp Automatically deployed . There will be different uses in different scenarios . image ideea、vscode quite a lot ide Will realize the function of hot deployment , Therefore, at the development level, it greatly improves the efficiency of our research and development .
Reference article :
https://blog.51cto.com/u_11103019/3766234
https://www.cnblogs.com/lanqingzhou/p/13590334.html
https://www.cnblogs.com/diexian/p/13501359.html
https://blog.51cto.com/u_13567403/3043758
https://blog.csdn.net/zhanglh046/article/details/115843463
边栏推荐
- Node Foundation
- 物理防火墙是什么?有什么作用?
- Bind class style and bind style style
- OASYS system of code audit
- Classes and objects (2) (6 default member functions)
- Promise asynchronous callback function
- Anti shake and throttling
- 【微信小程序】页面导航
- [code case] blog page design (with complete source code)
- Practical skills of easyexcel
猜你喜欢

Network Security Learning notes-1 file upload

电商RPA,大促轻松上阵的法宝

数组中重复的数字

XXE&XML-外部实体注入-利用和绕过

Query commodity cases (operate data with array addition method) / key points

Firewall command simple operation

This point inside the function / change this point inside the function
![[code case] blog page design (with complete source code)](/img/9e/0e7cab956515b9cc75a7567eb477d2.png)
[code case] blog page design (with complete source code)

学习探索-3d轮播卡片

Node基础
随机推荐
Simulink learning notes (III) - Simulink automatic code generation (II) "suggestions collection"
1913. 两个数对之间的最大乘积差-无需排序法
@Autowired注解 required属性
Rendering, filtering (filtering) and sorting of lists
【MUDUO】EventLoopThreadPool
策略模式_
CTS test method "suggestions collection"
[wechat applet] page navigation
Discuz atmosphere game style template / imitation lol hero League game DZ game template GBK
Tencent map API request source is not authorized, this request source domain name
图的遍历-DFS,BFS(代码详解)
This point inside the function / change this point inside the function
Recursion of function (use recursion to find the factorial of 1-N) (use recursion to find Fibonacci sequence) (use recursion to traverse data)
PHP wechat scan code, follow official account and authorize login source code
Release of v6.5.1/2/3 series of versions of Xingyun housekeeper: the ability of database OpenAPI continues to be strengthened
POI special effects Market Research
意向不到的Dubug妙招
Duplicate numbers in array
学习探索-波浪
Qt风格(QSS)应用之QProgressBar