JVM tuning:
-server -Xmx1500m -Xms1500m -Xss128k -XX:+DisableExplicitGC
E-commerce Application Description
The test models an e-commerce web site that sells items from a large inventory. It uses the
standard web application model-view-controller design pattern for its implementation: the user
interface (that is, the view) is handled by 16 different JSP pages which interface with a single
master control servlet. The servlet maintains JDBC connections to the database, which serves as
the model and handles 27 different queries. The JSP pages make extensive use of JSP tag
libraries and comprise almost 2000 lines of logic.
Database Cardinality
The database contains 1000 orderable items (which have two related tables which also have a
cardinality of 1000), 72000 customers (with two related tables), and 1.9 million orders (with two
related tables). Standard JDBC connections handle database connection using prepared
statements and following standard JDBC design principles.
Workload
A randomly-selected user performs the online shopping. The following operations were used in
the Matrix mix workload (operations were carried out with precedence of operations): Home,
AdminConfirm, AdminRequest, BestSellers, BuyConfirm, BuyRequest, CustomerRegistration,
NewProducts, OrderDisplay, OrderInquiry, ProductDetail, SearchRequest, SearchResults, and
ShoppingCart.
The Faban driver was used to drive the load. Think time was chosen from a negative
exponential distribution. The minimum think time was 7.5 seconds, the maximum was 75
seconds. The maximum number of concurrent users that the system can support was based on
the following passing criteria.
TABLE 6–20
Performance Test Pass Criteria
Transaction
90th Percentile Response Time (Seconds)
HomeStart
3
AdminConfirm
20
AdminRequest
3
BestSellers
5
BuyConfirm
5
Performance Tests and Results
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
124
Summary of Contents for Sun Java System Web Server 7.0
Page 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Page 10: ...10 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 84: ...84 ...
Page 100: ...100 ...