A scalable and highly available system for serving

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

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

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

资源描述

AScalableandHighlyAvailableSystemforServingDynamicDataatFrequentlyAccessedWebSitesJimChallenger,PaulDantzig,andArunIyengarIBMResearchT.J.WatsonResearchCenterP.O.Box704YorktownHeights,NY10598Abstract:ThispaperdescribesthesystemandkeytechniquesusedforachievingperformanceandhighavailabilityattheofficialWebsiteforthe1998OlympicWinterGameswhichwasoneofthemostpopularWebsitesforthedurationoftheOlympicGames.TheWebsiteutilizedthirteenSP2systemsscatteredaroundtheglobecontainingatotalof143processors.AkeyfeatureoftheWebsitewasthatthedatabeingpresentedtoclientswasconstantlychanging.Whenevernewresultswereenteredintothesystem,updatedWebpagesreflectingthechangesweremadeavailabletotherestoftheworldwithinseconds.Onetechniqueweusedtoservedynamicdataefficientlytoclientswastocachedynamicpagessothattheyonlyhadtobegeneratedonce.WedevelopedandimplementedanewalgorithmwecallDataUpdatePropagation(DUP)whichidentifiesthecachedpagesthathavebecomestaleasaresultofchangestounderlyingdataonwhichthecachedpagesdepend,suchasdatabases.FortheOlympicGamesWebsite,wewereabletoupdatestalepagesdirectlyinthecachewhichobviatedtheneedtoinvalidatethem.Thisallowedustoachievecachehitratesofcloseto100%.OursystemwasabletoservepagestoclientsquicklyduringtheentireOlympicGamesevenduringpeakperiods.Inaddition,thesitewasavailable100%ofthetime.Wedescribethekeyfeaturesemployedbyoursiteforhighavailability.WealsodescribehowtheWebsitewasstructuredtoprovideusefulinformationwhilerequiringclientstoexamineonlyasmallnumberofpages.1.IntroductionThispaperdescribesthesystemandkeytechniquesusedforachievingperformanceandhighavailabilityattheofficialWebsiteforthe1998OlympicWinterGamesinNagano,1of308/6/9810:36AMAScalableandHighlyAvailableSystemf...icDataatFrequentlyAccessedWebSites(DUP)whichidentifiesthecachedpagesthathavebecomestaleasaresultofchangestounderlyingdataonwhichthecachedpagesdepend,suchasdatabases.Astalepagecaneitherbeinvalidatedorupdateddirectlyinthecache.FortheOlympicGamesWebsite,wewereabletoupdatestalepagesdirectlyinthecache.Thisallowedustoachievecachehitratesofcloseto100%.Bycontrast,anearlierversionofoursystemwhichdidnotuseDUPachievedcachehitratesofaround80%attheofficialWebsiteforthe1996OlympicGames.Thetechniquesdeployedatthe1998OlympicGamesWebsitecanbeusedatotherWebsiteswhereitisdesirabletoprovidesignificantdynamiccontent.Websitedesignersoftenshyawayfromprovidingtoomanydynamicpagesbecauseoftheoverheadthatthisentails.Wehavedemonstratedthatthisdoesnothavetobethecase.Usingourtechniques,asingleservercanserveseveralhundreddynamicpagespersecondifthepagesarecacheable.ThereisconsiderabledemandforprovidingdynamiccontentefficientlyontheWeb.Consequently,ourtechnologyisbeingincorporatedintoIBMproductssothatitcanbeusedatmanyWebsites.The1998OlympicGamesWebsiteachievedhighavailabilitybyusingredundanthardwareandbyservingpagesfromfourdifferentcomplexesindifferentgeographiclocationscontainingreplicatedinformation.Ifaserverfailed,requestswereautomaticallyroutedtootherservers.Ifanentirecomplexfailed,requestscouldberoutedtotheotherones.Thenetworkcontainedredundantpathstoeliminatesinglepointsoffailure.Itwasdesignedtohandleatleasttwotothreetimestheexpectedbandwidthinordertoaccommodatethehighvolumesofdatashouldportionsofthenetworkfail.Therestofthispaperisorganizedasfollows.Section2describestheDUPalgorithmfor2of308/6/9810:36AMAScalableandHighlyAvailableSystemf...icDataatFrequentlyAccessedWebSites:staticanddynamic.Staticpagesareservedfromthefilesystem.Bycontrast,dynamicpagesarecreate

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

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

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

×
保存成功