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

被折叠的 条评论
为什么被折叠?



