资源描述:
《Web应用服务器自适应负载平衡服务》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、1000-9825/2003/14(06)1134©2003JournalofSoftware软件学报Vol.14,No.6*Web应用服务器自适应负载平衡服务+范国闯,朱寰,黄涛,冯玉琳(中国科学院软件研究所软件工程技术研究开发中心,北京100080)TowardsAdaptiveLoadBalancingServicesforWebApplicationServers+FANGuo-Chuang,ZHUHuan,HUANGTao,FENGYu-Lin(TechnologyCenterofSoftwareEngineering,InstituteofSoftware
2、,TheChineseAcademyofSciences,Beijing100080,China)+Correspondingauthor:Phn:86-10-62630989,Fax:86-10-62562538,E-mail:fanguo@otcaix.iscas.ac.cnhttp://otcaix.iscas.ac.cnReceived2002-10-25;Accepted2003-01-28FanGC,ZhuH,HuangT,FengYL.TowardsadaptiveloadbalancingservicesforWebapplicationservers
3、.JournalofSoftware,2003,14(6):1134~1141.http://www.jos.org.cn/1000-9825/14/1134.htmAbstract:WAS(Webapplicationserver)isadistributedsystemwhichprovidesruntimeintegratedservicesfortransactionalWebapplications.ToimprovethedependabilityandscalabilityofWASs,oneeffectivewayistobalanceloadsvia
4、adaptiveloadbalancingservicebasedonthemiddleware.Theexistingadaptiveloadbalancingservices,however,haveinadequaciessuchaslackofservertransparencyandextensibleloadbalancingstrategyetc.,andprovideinsufficientfunctionalitytosatisfyWASs.Inthispaper,thekeyrequirementsofadaptiveloadbalancingse
5、rvicesforWASsareaddressedfirst,andthenthedesignofanoveladaptiveloadbalancingserviceispresented.Thekeydesignchallengesincludinghotplug-in,customizableloadbalancingstrategy,loadfeedbackandadaptivecontrol,statemigrationandfaulttoleranceetc.aredescribed,andthetechnicalsolutionsareoutlined.L
6、astly,acomparativestudywithotherrelatedworksisgivenTheadaptiveloadbalancingserviceisdevelopedandimplementedinWebFrame2.0applicationserverbyusingJavaRMI.Keywords:Webapplicationserver;adaptiveloadbalancingservice;middleware;dependability;scalability摘要:Web应用服务器是为事务性Web应用提供一系列运行时服务的分布式系统.基于
7、中间件的自适应负载平衡服务是为Web应用服务器提供高可信赖性和高伸缩性的一种有效方法,但目前还存在许多不足,如缺乏服务端透明性、负载策略不可替换等,不能满足Web应用服务器特有的需求.分析了Web应用服务器负载平衡服务的关键需要,设计了一种自适应负载平衡服务,阐述了在J2EE应用服务器WebFrame2.0上实现该服务的若干关键技术及其解决办法,包括可热插拔、负载策略可替换、负载反馈与自适应控制、状态迁移以及容错技术等,最后是相关工作介绍及其比较.该负载平衡服务已在Web应用服务器WebFrame2.0中得以实现.关键词:Web应用服务器;自适应负载