资源描述:
《PHP,JSP 作为服务器端脚本语言的性能比较【外文翻译】》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、外文翻译PerformanceComparisonofPHPandJSPasServer-SideScriptingLanguagesMaterialSource:IBMTokyoResearchLaboratory16-23-14ShimotsurumaYamato-shi,Japan242-8502{trent,mich,toyo,atozawa,tonodera}@jp.ibm.comAuthor:ScottTrent,MichiakiTatsubori,ToyotaroSuzumura,AkihikoTozawa,andTamiyaOnoderaAbstract.Thedy
2、namicscriptinglanguagePHPhasbecomeenormouslypopularforimplementinglightweightwebapplications,andiswidelyusedasaserver-sidescriptinglanguageforwebservers.TocontrasttheperformanceofPHPandJSPforthispurpose,weusedtheSPECweb2005benchmark,whichprovidesthreeapplicationscenariosimplementedinbothPHPand
3、JSP.ThispaperdescribesandcontraststheresultsofSPECweb2005performancebenchmarktestingperformedondifferentconfigurationsofPHPandJSPusingthepopularwebserversApacheandLighttpd.DespitetheexecutionoverheadofinterpretationinPHPenginesobservedinmicrobenchmarks,theexperimentalresultofSPECweb2005benchma
4、rkyieldsvaluableperformancedataforwebserverimplementers.Theefficiencyofscriptinglanguageruntimesstillmattersfortheend-to-endperformance.However,oncecarefullyarchitectedandtuned,thelanguageruntimeislessofabottleneckthanthewebserverperformanceitself.Keywords:PHP,JSP,SPECweb,Benchmarking,WebServe
5、r.1IntroductionThedynamicscriptinglanguagePHP(PHPHypertextPreprocessor)hasbecomeenormouslypopularforimplementinglightweightwebapplications,andiswidelyusedtoaccessdatabasesandothermiddleware.ApachemodulepopularitysurveysperformedbySecuritySpaceinOctober2007indicatethat37%ofApacheservershavePHPs
6、upportenabled[11],makingitthemostpopularApachemoduleby10percentagepoints.BusinessesarequicklyrealizingthepowerfulcombinationofaserviceorientedarchitectureenvironmentwithdynamicscriptinglanguageslikePHP[5].However,webelievethattherearestillcriticalperformanceissuesinvolvingPHPwhichremaintobeinv
7、estigated.Thispaperfocusesontheuseofdynamicscriptinglanguagestoimplementwebserverfront-endinterfaces.ThiscorrespondswiththewaythattheindustrystandardwebserverperformancebenchmarkSPECweb2005utilizesPHPandJSP(JavaServerPages).Inthiscase,s