Measuring Application Server Performance using ECperf David Lucas President Lucas Software...
-
Upload
willis-burke -
Category
Documents
-
view
219 -
download
2
Transcript of Measuring Application Server Performance using ECperf David Lucas President Lucas Software...
![Page 1: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/1.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/2.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/3.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/4.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/5.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/6.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/7.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/8.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/9.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/10.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/11.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/12.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/13.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/14.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/15.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/16.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/17.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/18.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/19.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/20.jpg)
Thank You!
Please fill out the speaker evaluation. You can contact me further at …
![Page 21: Measuring Application Server Performance using ECperf David Lucas President Lucas Software Engineering, Inc DDLUCAS@LSE.COM.](https://reader035.fdocuments.us/reader035/viewer/2022062422/56649eec5503460f94bfd946/html5/thumbnails/21.jpg)