A Web Service for evaluation of load balancing str

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

AWebServiceforevaluationofloadbalancingstrategiesfordistributedwebserversystemsDigvijaySinghLambaSeniorUndergraduate,Dept.ofComputerSc.andEngg.,IITKanpurDr.PankajJaloteDept.ofComputerSc.andEngg.,IITKanpurDr.DheerajSanghiDept.ofComputerSc.andEngg.,IITKanpurAbstractManylargewebsitesgetmillionsofhitseveryday.Theyneedascalablewebserversystemthatcanprovidebetterperformancetoalltheclientsthatmaybeindifferentgeographicalregions.Commonapproachtoimproveperformanceistohavefullyreplicatedwebserverclustersindifferentgeographicalregionswithreplicatedservers.Insuchanenvironment,oneofthemostimportantissuesisselectingaserverforservicingarequest.Clientrequestsshouldbedirectedtoaserversuchthatthetimetakenforservicingtherequestcanbeminimised.Differentpoliciesarepossibleforserverselectionanditisdifficulttodeterminetheimpactofdifferentpolicies.Inthispaper,wedescribeawebservicethatcanbeusedtoevaluatetheperformanceofdifferentschemes.Weprovideawebbasedtestbedtoperformthistask.ThisserviceutilizesadedicatedtestbedthatemulatestheWorldWideWebandonwhichtheperformanceofvariousstrategiescanbestudied.Ausergivesthevaluesofdifferentnetworkandloadparametersandthespecificsofthepolicy.Thetestbedisconfiguredtoemulateawebserversystemusingthespecifiedpolicyandperformancetestingisdone.Datafromthetestsiscollected,analyzedandgraphicallydisplayedtotheuser.Theservicealsoallowsnewapproachestobetested.IntroductionNumberofusersaccessingtheInternetisincreasingquiterapidlyanditiscommontohavemorethan100millionhitsadayforpopularwebsites.Forexample,netscape.comwebsitereceivesmorethan120millionhitsaday.Thenumberofusersisexpectedtocontinueincreasingatafastrateandhenceanywebsitethatispopular,facesthechallengeofservingverylargenumberofclientswithgoodperformance.Fullmirroringofwebserversorreplicationofwebsitesisonewaytodealwithincreasingnumberofrequests.Manytechniquesexistfortheselectionofthenearestwebserverfromtheclient’spointofview.Ideally,selectionofbestservershouldbedonetransparentlywithouttheinterventionoftheuser.Manyoftheexistingschemesdoonlyload-balancing.Theseschemesassumethatthereplicatedsitehasallthewebserversinonecluster.Thisisalrightformediumsizedsites,butbeyondacertainamountoftraffic,theconnectivitytothisoneclusterbecomesabottleneck.Solargewebsiteshavemultipleclusters,anditisbesttohavetheseclustersgeographicallydistributed.Thischangestheproblemtofirstselectthenearestclusterandthendoloadbalancingwithintheserversofthatcluster.Ofcourse,ifallserversinaclusterareheavilyloadedthenanotherclustershouldhavebeenchosen.Sotheproblemismorecomplexinsuchanenvironment.Designingsuchasysteminvolvesmakingdecisionsabouthowthebestservercanbeselectedforarequestsuchthattheusergetsaresponseinminimumtimeandhowthisrequestisdirectedtothatserver.Insomestrategies,aserverisselectedwithouttakingintoaccountanysystemstateinformation,e.g.random,roundrobinetc[6].Somepoliciesuseweightedcapacityalgorithmstodirectmorepercentageofrequeststomorecapableservers[7].Somestrategiesselectaserverbasedontheserverstate[7]andsomeotherstakeclientstateinformationintoaccount[7].Thereisalwaysatradeoffbetweentheoverheadduetocollectionofsystemstateinformationandperformancegainbyuseofavailablestateinformation.Iftoomuchstateinformation(ofserverorclients)iscollected,itmayresultinhighoverheadsforcollectionofinformationandperformancegainmaynotbecomparabletooverheads.Theperformanceofanyloadbalancingapproachdependsonahostoffeatureslikenetworkdelays,packetlosses,transmissionerrors,rateofrequests,serverloadetc.Itisusuallyveryhardtoanalyticallydeterminetheperformanceofapolicygivensomeconditions.Simulationsalsohavelimitationsinthattheycanonlytakelimitedvariablesintoaccountandwiththecomplexitiesinvolvedinthiscaseeffectofallthevariablescannotbeanalyticallydeterminedandsimulated.Hencetestingforperformancebysettingupatestbedisareasonablewaytoevaluatedifferentstrategies.Thistestingwillingeneralrequireadedicatedtestbedonwhichperformancestudiescanbedone.Suchatestbedshouldbeconfigurablefordifferentstrategiesandnetworkcharacteristics.Assuchatestbedislikelytobeadedicatedsetupwithafocussedpurpose,itwillbeusefulifawebservicecanbecreatedforevaluatingapolicy.Inthis,allparameterswillbesetinthewebservice,whichwillthendrivethetestbedtoobtaintheresults.Suchaservicewillmakeadedicatedtestbedaccessibleacrosstheworld.Suchaserviceshouldfulfilanumberofrequirements.Itshouldbepossibletostudytheimpactofdifferentparametersontheperformanceofvariousstrategiesandtocomparethem.Itshouldbepossibletosubmitnewstrategiesandcomparetheirperformancewithexistingonesortoidentifyconditionswherethepolicyperformsbest.Inthispaper,wedescribeawebserviceforevaluatingloadbalancingstrategiesfordistributedwebserversystems.Thewebserviceinteractswithatestbedtoautomatetheprocessofsubmissionofparameters,testingandresultgenerationtoallowtheusertotestandcompareloadbalancingpoliciesthroughinahighlyconfigurablemanner.Wehavepre-definedsomepopularstrategieswhichcanbeevaluatedfordifferentparametersettings.Theservicealsoallowsuserstotestnewpoliciesforloadbalancingandcomparetheirp

1 / 25
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功