measuring application server performance using ecperf david lucas president lucas software...

21
Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc [email protected]

Upload: willis-burke

Post on 02-Jan-2016

221 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

Measuring Application Server Performance using

ECperf

David LucasPresidentLucas Software Engineering, [email protected]

Page 2: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

AgendaAgenda

• Introduction

• ECperf Model• Business

• Data

• ECperf & J2EE• Servlet/JSP

• EJB

• ECperf Test• Report

• Tuning Tips

• Conclusion

Page 3: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

IntroductionIntroduction

• Welcome

• Benchmarks

• Why ECperf?

• What is ECperf?

Page 4: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

BenchmarksBenchmarks

• What are they good for?

• Who uses them?

• Why would you use them?

Page 5: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

Why ECperf?Why ECperf?

• There was no easy way to compare EJB Containers for those who had never built EJBs.

• The ECperf was built through the Java Community Process to stress an EJB Container in the areas of performance and scalability

Page 6: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

What is ECperf?What is ECperf?

• "ECperf is a Enterprise JavaBeans(EJB) benchmark meant to measure the scalability and performance of J2EE servers and containers. " --TheServerSide

• The benchmark is geared at showing how a particular real world application will behave in a given EJB Container (middle tier).

Page 7: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - Business ModelECperf - Business Model

• Customer

• Manufacturing

• Supplier

• Corporate

Page 8: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - Data ModelECperf - Data Model• Schema provided for major databases

like DB2, Oracle, etc.

• There are a total of 22 tables

• Depending on database, some optimizations have been done as part of the ECperf

• Make sure you take advantage of your database performance guides

Page 9: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - Servlet/JSPECperf - Servlet/JSP• Web based access to view, order and

manage domains

• 14 JSPs

• 2 Major Servlets

Page 10: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - EJBECperf - EJB• Session Beans (about 26)

• Entity Beans (about 40)

• No Message Beans (see next spec)

Page 11: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - DeploymentECperf - Deployment• Standard/Distributed

• Client Simulator

• Server

• Database

• Supplier Simulator

• Manufacturing Simulator

Page 12: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - TestECperf - Test• Build

• Sun's ECperf kit

• Vendor ECperf kit

• Configure environment properties and database

• Load database

• Descriptors

• Particular to your AppServer

• Deployment

• Particulart to your AppServer

• Execution

• database startup

• AppServer next

• client runner

Page 13: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

DEMODEMO• This is a laptop!

• Please do not gage performance of anything on this machine. ;-)

• Quiz - How can I improve this test?

Page 14: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - ReportECperf - Report• What are BBops?

• Benchmark Business OPerationS

• They are measured per minute to represent a business transaction that completed through all domains.

• Certified results includes cost of system under test (SUT) / Bbops/min

• Type of Persistence Used

Page 15: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - ReportECperf - Report• Report must disclose:

• priced box containers ran on

• database type, OS, S/W, H/W and schema used

• software products used

• client box, OS, S/W, H/W

• network configuration

Page 16: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ECperf - Tuning TipsECperf - Tuning Tips• Run each domains tables on separate

databases on separate machines

• Have a high troughput client driver machine

• Have high bandwidth between boxes

• Have a lot of memory and swap

• Have at least one EJB Container per CPU on a box

• Your results are good if Bbops/min is greater than (txRate*100)

Page 17: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

ConclusionConclusion

• Benchmarks can be useful

• Run ECperf and compare for yourself in your environment

• http://www.theserverside.com tracks results, but be wise, they are not apples to apples.

• Future of ECperf (specjAppServ)

Page 18: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

Resourceshttp://java.sun.com/j2ee/ecperfhttp://ecpert.theserverside.com/ecperfhttp://jcp.org/aboutJava/communityprocess/final/jsr004http://www.theserverside.com/resources/article.jsp?|=Why_ECperf

There were several PDFs available from Borland, but they are temporarily offline due to the new developer portal.These were:

ECperf_For_BES_501.pdfecperf_wp_bes501.pdf

If you would like these, please email me and I will send them to you.

Page 19: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

Questions?

All trademarks in this presentation are those of their respective owners.

Page 20: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM

Thank You!

Please fill out the speaker evaluation. You can contact me further at …

[email protected]

Page 21: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM