framemark jsp对比_PHP和JSP作为服务器端脚本语言的性能比较【外文翻译】

本文聚焦PHP和JSP作为服务器端脚本语言的性能对比。利用SPECweb2005基准测试不同配置下PHP和JSP在Apache和Lighttpd服务器上的性能。虽PHP引擎有解释执行开销,但测试结果为服务器开发者提供了有价值的数据,且精心架构和调优后,语言运行时瓶颈小于服务器性能本身。

外文翻译

Performance Comparison of PHP and JSP as Server-Side

Scripting Languages

MaterialSource:Notesin

Computer

Science

Author:

Scott

Trent;Michiaki Tatsubori;Toyotaro Suzumura;Akihiko Tozawa and Tamiya Onodera

Abstract:The dynamic scripting language PHP has become enormously popular

for implementing lightweight web applications, and is widely used as a server-side

scripting language for web servers.To contrast the performance of PHP and JSP for

this

purpose,we

used

the

SPECweb2005

benchmark,which

provides

three

application

scenarios

implemented

in

both

PHP

and

JSP.This

paper

describes

and

contrasts the results of SPECweb2005 performance benchmark testing performed on

different configurations of PHP and JSP using the popular web servers Apache and

Lighttpd. Despite the execution overhead of interpretation in PHP engines observed

in

micro

benchmarks,

the

experimental

result

of

SPECweb2005

benchmark

yields

valuable performance data for web server implementers.The efficiency of scripting

language

runtimes

still

matters

for

the

end-to-end

performance.However,once

carefully architected and tuned, the language runtime is less of a bottleneck than the

web server performance itself.

Keywords: PHP, JSP, SPECweb, Benchmarking, Web Server.

1 Introduction

The dynamic scripting language PHP(PHP Hypertext Preprocessor) has become

enormously

popular

for

implementing

lightweight

web

applications,and

is

widely

used to

access

databases and other middleware.Apache module popularity surveys

performed by Security Space in October 2007 indicate that 37% of Apache servers

have

PHP

support

enabled

,making

it

the

most

popular

Apache

module

by

10

percentage

points.Businesses

are

quickly

realizing

the

powerful

combination

of

a

service

oriented

architecture

environment

with

dynamic

scripting

languages

like

PHP .However,we

believe

that

there

are

still

critical

performance

issues

involving

PHP which remain to be investigated.

This

paper

focuses

on

the

use

of

dynamic

scripting

languages

to

implement

web

server

front-end

interfaces.This

corresponds

with

the

way

that

the

industry

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值