支持依赖修复的热部署技术  被引量:2

Hot Deployment with Dependency Reconstruction

在线阅读下载全文

作  者:李海骋 曹春[1,2] 吕军[1,2] 陶先平[1,2] 

机构地区:[1]南京大学计算机软件新技术国家重点实验室,南京210023 [2]南京大学计算机系,南京210023

出  处:《计算机科学》2014年第11期141-145,共5页Computer Science

基  金:国家高技术研究发展计划(863计划)(2013AA01A213);国家自然科学基金:集成项目可信软件理论;方法集成与综合试验平台(91318301);国家自然科学基金:环境显示化中的涌现上下文研究(61073031);国家自然科学青年基金:面向网构软件的情境感知和自适应体系结构研究(61100037);江苏省科技支撑项目:基于云计算的智慧城市开发应用平台(BE2012123)资助

摘  要:热部署机制是主流应用服务器的典型功能之一。但是目前的应用服务器仅仅支持独立应用的热部署,并不能满足具有依赖注入的复杂企业级应用在线更新的需求。如果在线更新部分模块,会出现程序调用失效的问题,并会导致整个应用平台的失效。为了解决这个问题,介绍一种支持依赖修复的热部署技术。在首次部署应用的各模块时,用该技术建立模块之间的依赖关系。而在其更新时,通过查找依赖关系,找出受到更新影响的模块,修复依赖并进行局部的热部署,避免重启应用服务器的代价。最后通过实验表明,该热部署技术可以保证依赖注入下的应用正确性;在实际工程应用的场景下,该技术也能够大幅度提升应用服务器的性能和运行效率。The hot deployment mechanism is a typical feature of mainstream application servers.But current application servers only support hot deployment of standalone applications,which cannot satisfy the requirement of complicated enterprise applications with dependency injection.Failures will occur when some modules are updated online,which will result in failure of the whole application platform.To solve the problem,a technology of hot deployment with dependency reconstruction was introduced.We created dependencies between modules when each module of applications is deployed at the first time.On its updating,we found out modules affected by the update,reconstructed dependency and carried out partial hot deployment,avoiding the cost of restarting application server.Experiments show that our technology of hot deployment can ensure the correctness of the application with dependency injection and operating efficiency of application servers will be highly improved in the scenario of real-world applications.

关 键 词:热部署 依赖修复 应用服务器 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象