当前位置:网站首页>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
边栏推荐
- Data broker understanding
- 【MUDUO】EventLoopThreadPool
- 2022 Niuke multi School Game 2
- Summary of built-in instructions and custom instructions
- 1913. Maximum product difference between two number pairs - no sorting required
- E-commerce RPA, a magic weapon to promote easy entry
- 日期类的实现
- 学习探索-波浪
- Rendering, filtering (filtering) and sorting of lists
- Computed and watch listening properties
猜你喜欢

Idea sets get and set templates to solve the naming problem of boolean type fields

行云管家V6.5.1/2/3系列版本发布:数据库OpenAPI能力持续强化

MVVM model

Constructors and prototypes

Inheritance (the child constructor inherits the attributes in the parent constructor)

OASYS system of code audit

@Import

Multimodal deep multi modal sets

ratio学习之ratio_add,ratio_subtract,ratio_multiply,ratio_divide的使用

Learning exploration-3d rotation card
随机推荐
CTS test method "suggestions collection"
Network Security Learning notes-1 file upload
Which securities firm is the best and safest for beginners to open an account
Es5 new method
JS regular expression content:
General paging function
@Import
Source code of YY music wechat applet imitating Netease cloud music
Canada EE channel
WebMvcConfigurationSupport
1913. 两个数对之间的最大乘积差-无需排序法
Strategy mode_
numeric学习之iota,accumulate
【代码案例】博客页面设计(附完整源码)
Node Foundation
Release of v6.5.1/2/3 series of versions of Xingyun housekeeper: the ability of database OpenAPI continues to be strengthened
意向不到的Dubug妙招
@Autowired注解 required属性
Ffmpeg first learning (only for coding)
Dynamic memory management