Skip to main content

Performance Prediction of J2EE Applications Using Messaging Protocols

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3489))

Abstract

Predicting the performance of component-based applications is difficult due to the complexity of the underlying component technology. This problem is exacerbated when a messaging protocol is introduced to create a loosely coupled software architecture. Messaging uses asynchronous communication, and must address quality of service issues such as message persistence and flow control. In this paper, we present an approach to predicting the performance of Java 2 Enterprise Edition (J2EE) applications using messaging services. The prediction is done during application design, without access to the application implementation. This is achieved by modeling the interactions among J2EE and messaging components using queuing network models, calibrating the performance model with architecture attributes associated with these components, and populating the model parameters using a lightweight, application-independent benchmark. Benchmarking avoids the need for prototype testing in order to obtain the value of model parameters, and thus reduces the performance prediction effort. A case study is carried out to predict the performance of a J2EE application with asynchronous communication. Analysis of the resulting predictions shows the error is within 15%.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Cai, Y., Grundy, J., Hosking, J.: Experiences Integrating and Scaling a Performance Test Bed Generator with an Open Source CASE Tool. In: Proc. IEEE Int. Conf. on Automated Software Engineering (ASE) (September 2004)

    Google Scholar 

  2. Canevet, C., Gilmore, S., Hillston, J., Prowse, M., Stevens, P.: Performance modeling with UML and stochastic process algebras. IEE Proc. Computers and Digital Techniques 150(2), 107–120 (2003)

    Article  Google Scholar 

  3. Denaro, G., Polin, A., Emmerich, W.: Early Performance Testing of Distributed Software Applications. In: Proc. Int. Workshop on Software and performance (WOSP), January 2004, pp. 94–103 (2004)

    Google Scholar 

  4. Gorton, I.: Enterprise Transaction Processing Systems. Addison-Wesley, Reading (2000)

    Google Scholar 

  5. Gorton, I., Liu, A.: Performance Evaluation Of Alternative Component Architectures For EJB Applications. IEEE Internet Computing 7(3), 18–23 (2003)

    Article  Google Scholar 

  6. Gorton, I., Haack, J.: Architecting in the face of uncertainty: an experience report. In: Proc. 26th Int. Conf. on Software Engineering (ICSE), pp. 543–551 (2004)

    Google Scholar 

  7. Gu, G.P., Petriu, D.C.: XSLT transformation from UML models to LQN performance models. In: Proc. Int. Workshop on Software and performance (WOSP), pp. 227–234 (2002)

    Google Scholar 

  8. Harkema, M., Gijsen, B.M.M., Mei, R.D., Hoekstra, Y.: Middleware Performance: A Quantitative Modeling Approach. In: Proc. Int. Sym. Performance Evaluation of Computer and Communication Systems, SPECTS (2004)

    Google Scholar 

  9. Liu, Y., Fekete, A., Gorton, I.: Predicting the performance of middleware-based applications at the design level. In: Proc. Int. Workshop on Performance and Software Engineering (WOSP), pp. 166–170 (2004)

    Google Scholar 

  10. Liu, Y.: A Framework to Predict the Performance of Component-based Applications, PhD Thesis, University of Sydney, Australia (2004)

    Google Scholar 

  11. Liu, T.K., Behroozi, A., Kumaran, S.: A performance model for a business process integration middleware. In: IEEE Int’l Conf. on E-Commerce, pp. 191–198 (2003)

    Google Scholar 

  12. Menascé, D.A., Almeida, V.A.F.: Capacity Planning for Web Performance, Metrics, Models, and Methods. Prentice-Hall, Englewood Cliffs (1998)

    Google Scholar 

  13. OptimizeIt Suite, http://www.borland.com/optimizeit/

  14. King, P., Pooley, R.: Derivation of Petri Net Performance Models from UML Specifications of Communications Software. In: Haverkort, B.R., Bohnenkamp, H.C., Smith, C.U. (eds.) TOOLS 2000. LNCS, vol. 1786, p. 262. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  15. Saavedra, R.H., Smith, A.J.: Analysis of benchmark characteristics and benchmark performance prediction. ACM Transactions on Computer System 14(4), 344–384 (1996)

    Article  MATH  Google Scholar 

  16. Simeoni, M., Inverardi, P., Di Marco, A., Balsamo, S.: Model-Based Performance Prediction in Software Development: A Survey. IEEE Transactions on Software Engineering 30(5), 295–310 (2004)

    Article  Google Scholar 

  17. Sridhar, R., Perros, H.G.: A multilayer client-server queueing network model with synchronous and asynchronous messages. IEEE Trans. on Software Engineering 26(11), 1086–1100 (2000)

    Article  Google Scholar 

  18. Tran, P., Gosper, J., Gorton, I.: Evaluating the Sustained Performance of COTS-based Messaging Systems. Software Testing, Verification and Reliability, 13, 229–240 (2003)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Liu, Y., Gorton, I. (2005). Performance Prediction of J2EE Applications Using Messaging Protocols. In: Heineman, G.T., Crnkovic, I., Schmidt, H.W., Stafford, J.A., Szyperski, C., Wallnau, K. (eds) Component-Based Software Engineering. CBSE 2005. Lecture Notes in Computer Science, vol 3489. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11424529_1

Download citation

  • DOI: https://doi.org/10.1007/11424529_1

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-25877-3

  • Online ISBN: 978-3-540-32049-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics