Show simple item record

dc.contributor.authorCecchet, Emmanuel
Chanda, Anupam
Elnikety, Sameh
Marguerite, Julie
Zwaenepoel, Willy
dc.date.accessioned 2017-08-02T22:02:55Z
dc.date.available 2017-08-02T22:02:55Z
dc.date.issued 2002-02-20
dc.identifier.urihttps://hdl.handle.net/1911/96297
dc.description.abstract As dynamic content has become more prevalent on the Web, a number of standard mechanisms have evolved to generate such dynamic content. We study three specific mechanisms in common use: PHP, Java servlets, and Enterprise Java Beans (EJB). PHP and Java servlets require a direct encoding of the database queries in the application logic. EJB provides a level of indirection, allowing the application logic to call bean methods that then perform database queries. Unlike PHP, which typically executes on the same machine as the Web server, Java servlets and EJB allow the application logic to execute on different machines, including the machine on which the database executes or a completely separate (set of) machine(s). We present a comparison of the performance of these three systems in different configurations for two application benchmarks: an auction site and an online bookstore. We choose these two applications because they impose vastly different loads on the sub-systems: the auction site stresses the Web server front-end while the online bookstore stresses the database. We use open-source software in common use in all of our experiments (the Apache Web server, Tomcat servlet server, Jonas EJB server, and MySQL relational database). The computational demands ofJava servlets are modestly higher than those of PHP. The ability, however, of locating the servlets on a machine different from the Web server results in better performance for Java servlets than for PHP in the case that the application imposes a significant load on the front-end Web server. The computational demands of EJB are much higher than those of PHP and Java servlets. As with Java servlets, we can alleviate EJB's performance problems by putting them on a separate machine, but the resulting overall performance remains inferior to that of the other two systems.
dc.format.extent 16 pp
dc.language.iso eng
dc.rights You are granted permission for the noncommercial reproduction, distribution, display, and performance of this technical report in any format, but this permission is only for a period of forty-five (45) days from the most recent time that you verified that this technical report is still available from the Computer Science Department of Rice University under terms that include this permission. All other rights are reserved by the author(s).
dc.title A Comparison of Software Architectures for E-business Applications
dc.type Technical report
dc.date.note February 20, 2002
dc.identifier.digital TR02-392
dc.type.dcmi Text
dc.identifier.citation Cecchet, Emmanuel, Chanda, Anupam, Elnikety, Sameh, et al.. "A Comparison of Software Architectures for E-business Applications." (2002) https://hdl.handle.net/1911/96297.


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record