首页 | 本学科首页   官方微博 | 高级检索  
     

支持依赖修复的热部署技术
引用本文:李海骋,曹春,吕军,陶先平.支持依赖修复的热部署技术[J].计算机科学,2014,41(11):141-145.
作者姓名:李海骋  曹春  吕军  陶先平
作者单位:1. 南京大学计算机软件新技术国家重点实验室 南京210023
2. 南京大学计算机系 南京210023
基金项目:本文受国家高技术研究发展计划(863计划)(2013AA01A213),国家自然科学基金:集成项目可信软件理论、方法集成与综合试验平台(91318301),国家自然科学基金:环境显示化中的涌现上下文研究(61073031),国家自然科学青年基金:面向网构软件的情境感知和自适应体系结构研究(61100037),江苏省科技支撑项目:基于云计算的智慧城市开发应用平台(BE2012123)资助
摘    要:热部署机制是主流应用服务器的典型功能之一。但是目前的应用服务器仅仅支持独立应用的热部署,并不能满足具有依赖注入的复杂企业级应用在线更新的需求。如果在线更新部分模块,会出现程序调用失效的问题,并会导致整个应用平台的失效。为了解决这个问题,介绍一种支持依赖修复的热部署技术。在首次部署应用的各模块时,用该技术建立模块之间的依赖关系。而在其更新时,通过查找依赖关系,找出受到更新影响的模块,修复依赖并进行局部的热部署,避免重启应用服务器的代价。最后通过实验表明,该热部署技术可以保证依赖注入下的应用正确性;在实际工程应用的场景下,该技术也能够大幅度提升应用服务器的性能和运行效率。

关 键 词:热部署  依赖修复  应用服务器
收稿时间:2013/9/16 0:00:00
修稿时间:2013/11/9 0:00:00

Hot Deployment with Dependency Reconstruction
LI Hai-cheng,CAO Chun,LV Jun and TAO Xian-ping.Hot Deployment with Dependency Reconstruction[J].Computer Science,2014,41(11):141-145.
Authors:LI Hai-cheng  CAO Chun  LV Jun and TAO Xian-ping
Affiliation:State Key Laboratory for Novel Software Technology,Nanjing University,Nanjing 210023,China Depart of Computer Science and Technology,Nanjing University,Nanjing 210023,China;State Key Laboratory for Novel Software Technology,Nanjing University,Nanjing 210023,China Depart of Computer Science and Technology,Nanjing University,Nanjing 210023,China;State Key Laboratory for Novel Software Technology,Nanjing University,Nanjing 210023,China Depart of Computer Science and Technology,Nanjing University,Nanjing 210023,China;State Key Laboratory for Novel Software Technology,Nanjing University,Nanjing 210023,China Depart of Computer Science and Technology,Nanjing University,Nanjing 210023,China
Abstract: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.
Keywords:Hot deployment  Dependency reconstruction  Application server
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号