电子商务平台的性能优化和高可靠性研究与实现

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

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

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

资源描述

上海交通大学硕士学位论文电子商务平台的性能优化和高可靠性研究与实现姓名:彭海平申请学位级别:硕士专业:计算机技术指导教师:薛质;王军20070901WebApache2.0Linux(LVS)ApacheFastCGIApacheLVSApacheLVSApacheLVSAbstraactRESEARCHANDDESIGNOFPERFORMANCETUNNINGANDHIGHAVAILABILITYINE-COMMERCEWEBPLATFORMAbstractAlongwiththehigh-speeddevelopmentofInternetande-business,thedataflux,thenumberofusersandtheconcurrentnumberofinternetusersgrowupcontinually,allbringthehugechallengetothebandwidthandserversofe-businessplatform.Accordingtothenetwork'stechnicaldevelopment,thegrowthofthenetworkbandwidthisfarhigherthanthegrowthofthespeedintheserverandmemory,whatcantoforeseeismoreandmorebottleneckswouldappeartointhee-businessplatform.Howtogetmorehighavailability,thehighperformancetomeettheincreasingrequirementofloadhasbecomeaproblemstaredintheface.Sourcecodesofapache2.0andLVSareresearchedfortheperformanceoptimizationoftheclassifiedlivinginformationinteractionplatformwhichisappliedintrueworld.Thepivotalfactorseffectingontheperformanceofapacheserverarefoundoutfromtheviewssoftware,hardwareandnetaccordingtoitsevaluationindices.ThedisposalofthedynamicrequestareoptimizedbyusingtheFastCGIandaddingmoduletoapache,andtheconfigurationparameterbygropingtestmethod.ThispaperaimedathowLVSbuildavictualserveronagroupofincompactgatheredservers,.Anotherpointinthispaperishowtobalancetheloadoftheserverstoimprovethecapabilityofthewholesystem.Withthetwopoints,makethewholesystemlookedasahighavailableandhighperformancevirtualservertotheuser.Byresearchinghowtoimproveperformanceandavailabilityofe-businessplatform,thewholemethodspresentedinthepaperhavebeenusingsuccessfullyinthecaseofsomewebsitesandgotgoodeffect.KeyWordsEcommerceApacheoptimizationLoadBalanceLVS11.1,,[1]?199756200226801997182002260[2]B/S[3]B/SMISINTERNET365*24InternetInternet1-119942007Internet21-1InternetFig1-1InternetconnectionHostCountInternet:1.2WEB2.0[4]3INTERNET()INTERNET510200IPInternetWebWebWebLinuxApacheWEBApacheLinuxLVS1.3ApacheApacheApacheLVS:;4WebApacheIISWebApacheApacheWebLINUXApacheLVSLVSWEBWEB2.1WebWeb2-12-1Fig2-1EcommercePlatSchemaWebWebWebWebWeb[5]TCPWebInternet60%Web5WEB6HTTPHTTPHypertextTransferProtocolWebWebHTTPHTTP2-22-2HTTPFig2-2HTTPProtocolProcedure2.1.1WebWeb.htmlWebWebCGICommonGatewayInterface[6]CGIWebCGIScriptCGIWEB7ASPActiveServerPage[8]PHPPersonalHomePage[8]JSPJavaServerPage[9]ASPHTMLVBScriptWebASPJSPSunASPJavaWeb2.1.2WebWebHTTPWebUNIX/HTTPNCSAHttpd[10]InternetApache[11]2.2ApacheApacheWebNetcraftApacheApache56%30%Apache2.86%GoogleApacheGFEGoogle2.3%Apache0.56%Netcraft127,961,479Web1995820078WEB82-319951120078WWWFig2-3MarketSharefortopServersAcrossAllDomainsNov1995-Aug.2007ApacheApacheHTTPApacheSoftwareFoundationHTTPApache2.0Apache2.0ApachePortableRuntime(APR)(MPM)Apache2.0Apache(API)IP6(IPv6)Web2.2.1ApacheLinuxApache2.0ApachecoreApacheHTTPmpm_common(MPM)beosBeOS(MPM)eventworkerMPMmpm_netwareWEB9NovellNetWare(MPM)mpmt_os2OS/2(MPM)preforkMPMmpm_winntWindowsNT/2000/XP/2003MPMworkerMPMMPMmod_actionsCGImod_aliasURLmod_asisHTTPmod_auth_basicmod_auth_digestMD5()mod_authn_aliasmod_authn_anonmod_authn_dbdSQLmod_authn_dbmDBMmod_authn_defaultmod_authn_filemod_authnz_ldapLDAPmod_authz_dbmDBMWEB10mod_authz_defaultmod_authz_groupfilemod_authz_hostIPmod_authz_ownermod_authz_usermod_autoindexlsdirmod_cacheURI()mod_cern_metaApacheCERNhttpdmod_cgiMPM(prefork)CGImod_cgidMPM(worker)CGICGImod_charset_litemod_davApacheDAVmod_dav_fsmod_davmod_dav_lockmod_davmod_dbdSQLmod_deflatemod_dirmod_disk_cachemod_dumpioWEB11I/Omod_echomod_envApacheCGISSImod_exampleApacheAPImod_expiresHTTPExpires:Cache-Control:mod_ext_filtermod_file_cacheApachemod_filtermod_headersHTTPmod_identRFC1413identmod_imagemapmod_include(SSI)mod_infoApacheWebmod_isapiWindowsISAPImod_ldapLDAPLDAPmod_log_configmod_log_forensicmod_logio/HTTPmod_mem_cacheWEB12mod_mime(/)(MIME///)mod_mime_magicMIMEmod_negotiationmod_nw_sslNetWareSSLmod_proxyHTTP/1.1/mod_proxy_ajpmod_proxyApacheJServProtocolmod_proxy_balancermod_proxymod_proxy_connectmod_proxyHTTPCONNECTmod_proxy_ftpmod_proxyFTPmod_proxy_httpmod_proxyHTTPmod_rewriteURLmod_setenvifmod_soDSOmod_spelingURLmod_ssl(SSL)(TLS)mod_statusWebmod_suexecwebCGISSImod_unique_idWEB13mod_userdir(/~username)mod_usertrackSession(Cookie)mod_versionmod_vhost_alias2.2.2ApacheApache1.HTTP/1.1[12]ApacheHTTP/1.1HTTP/1.1HTTP/1.0HTTP/1.1WebWebHTTP/1.1Web2.CGIApachemod_cgiCGICGI/1.13.ApacheIPWeb4.HTTPApacheWebApacheSQL5.ApacheWeb6.SSLSecuritySocketLayerApacheSSLApacheApache-SSL7.HTTPcookiesmod_usertrackApacheWebApache2.0Apache1.3WEB14[13]1.1UNIXPOSIXThePortableOperatingSystemInterfaceUNIXApache()2UNIXApache2.0BeOSOS/2WindowsUNIXmulti-processingmodules(MPMs)ApachePortableRuntime(APR)ApacheAPIApplicationProgrammingInterfacePOSIXbug3ApacheAPIApache2.0API1.3/Apache2.0per-hook4IPListenServerName5WindowsNTUnicodeApache2.0WindowsNTutf-8UnicodeWindowsNT(Windows2000XP)6MPM(Multi-ProcessingModules)Apache2.0,,MPMApacheMPM2.1mod_sslApache2.0OpenSSLSSL/TLS2mod_davApache2.0HTTPWeb3mod_deflateApache2.04mod_auth_ldapApache2.0.41LDAPHTTPmod_ldap5mod_auth_digestsession6mod_pro

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

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

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

×
保存成功