EJB 어플리게이션의 성능 메트릭

Performance Metrics for EJB Applications

  • 발행 : 2002.12.01

초록

J2EE(Java 2, Enterprise Edition)의 등장으로 국내.외 수많은 기업들이 J2EE의 모델에 맞게 엔터프라이즈 어플리케이션을 개발하고 있다. 이것은 J2EE의 핵심 기술 요소인 Enterprise Jana Beans(EJB)의 컴포넌트 모델이 분산 객체 어플리케이션의 개발을 간단하게 해주기 때문이다. EJB 어플리케이션은 컴포넌트 지향의 객체 트랜잭션 미들웨어를 사용하여 구현되며, 많은 어플리케이션이 분산 트랜잭션을 이용한다. EJB 서버는 이를 위한 미들웨어 서비스를 제공하여 EJB 개발자가 비즈니스 로직에 집중할 수 있도록 한다. 이러한 특징은 EJB 기술을 각광받게 하는 요인이 되었고, EJB 기반의 어플리케이션 개발에 관한 연구가 활발하게 이루어지게 하였다. 그러나 아직은 EJB 어플리케이션 운영 상태에서 성능을 측정하기 위한 메트릭에 대한 연구가 미흡하다. 본 논문에서는 운영 상태의 EJB 어플리케이션에서 서비스를 위한 워크플로우를 살펴보고, 어플리케이션 내부 작업을 여러 요소들로 분류한다. 분류된 여러 요소를 이용하여 빈(Bean) 레벨까지의 성능 측정을 위한 메트릭을 제시한다. 성능 측정에 사용되는 각 요소들을 추출하기 위해 우선 EJB 어플리케이션의 운영 상태에서 발생하는 빈의 종류에 따른 생명주기를 분석하고, 이를 기반으로 성능과 관련된 요인을 추출하여 빈의 종류에 따른 성능 요인을 메트릭에 부여할 수 있도록 한다. 또한 빈 메소드 호출시 발생하는 빈의 활성화와 메시지 전파 등의 특성을 파악하고, 어플리케이션 내에서 워크플로우에 참여하는 빈들 간의 관계를 분석하여 워크플로우에 대한 성능 측정이 가능하도록 한다. 또한 제안된 메트릭을 통하여 EJB 어플리케이션의 성능 향상을 도모할 수 있도록 한다.

Due to the emersion of J2EE(Java 2, Enterprise Edition), many enterprises inside and outside of the country have been developing the enterprise applications appropriate to the J2EE model. With the help of the component model of Enterprise Java Beans(EJH) which is the J2EE core technology, we can develop the distributed object applications quite simple. EJB application can be implemented by using the component-oriented object transaction middleware and the most applications utilize the distributed transaction. EJB developers can concentrate on the business logic because the EJB server covers the middleware service. Due to these characteristics, EJB technology became popular and then the study for EJB based application has been done quite actively However, the research of metrics for measuring the performance during run-time of the EJB applications has not been done enough. Tn this paper, we explore the workflow for the EJB application service on the run-time and classify the internal operation into several elements. We propose the metrics for evaluating the performance up to the bean level by using the classified elements. First, we analyze the lifecycle according to the bean types which comes from the EJB application on the run-time as to extract each factor used in performance measurement. We also find factors related to a performance and allocate the Performance factors to the metrics as the bean types. We also consider the characteristics like the bean's activation and message passing which happens during bean message call and then analyze the relations of the beans participating in the workflow of the application to make the workflow performance measurement possible. And we devise means to bring performance enhancement of the EJB application using the propose.

키워드

참고문헌

  1. Halter S., Munroe S., Enterprise Java Performance, Prentice Hall PTR, Aug. 2000
  2. Java Community, ECperf Specification, Sun Microsystems, at URL : http://java.sun.com/j2ee/ecperf/download.html, May 29, 2001
  3. Sun Microsystems, Enterprise JavaBeans Specification, Version 20, at URL : http://java.sun.com/products/ejb/docs.html, Aug. 14, 2001
  4. Roman Ed., Mastering Enterprise faoabeans, Second Edition, WILEY, 2002
  5. ISO/IEC JTC1/SC7 Secretariat, FCD 9126-1,2 Information Technology - Software product quality, ISO/IEC JTC1/SC7 Secretariat, 1998
  6. MacCabee M., 'Client/server end-to-end response time: real life experience', Proc. 1996 Comput, Measurement Group Conf., Orlando. FL, pp.839-849, Dec. 8-13, 1996
  7. Fenton N., Pfleeger S., Scftuxire Metrics: A Rigorous & Practical Approach, PWS Publishing Company, 1997
  8. Cho E., Kim M, Kim S., 'Component Metrics to Measure Component Quality', Asia-Pacific Software Engineering Conference(APSEC2001), Macao, China, PP,419--426, Dec. 4-7, 2001 https://doi.org/10.1109/APSEC.2001.991509
  9. 김철진, 조은숙, 김수동,'효율적인 객체지향 설계 및 성능 측정을 위한 정적/동적 메트릭', 한국정보과학회논문지(B), 제25권, 제11호, pp.1657-1666, 1998, 11
  10. Liu T., et al., 'Layered Queueing Models for Enterprise JavaBean Applications', Fifth IEEE International Enterprise Distributed Object Computing Conference, Sept. 2001 https://doi.org/10.1109/EDOC.2001.950435
  11. Llado CM., Harrison P.G., 'Performance evaluation of an enterprise javabean server implementation.', In: Proc. 2nd. Int. Workshop on Software and Performance (WOSP 2000, September 17-20, Ottawa, Canada), 2000 https://doi.org/10.1145/350391.350429
  12. Luthi J., Llado CM., 'Sensitivity Analysis of an EJB Performance Model using Interval Parameters.', In: Proc. 2. Workshop Performance Engineering in del' Softwareentwicklung (PE 2001, Munchen, Germany, April 18, 2001), pp. 1-5, April 2001
  13. Luthi J., Llado CM., 'Interval Parameters for Capturing Uncertainties in an EJB Performance Model.', In: ACM Performance Evaluation Review, Vol. 29, No.1, Special Issue 'Joint International Conference on Measurement & Modeling of Computer Systems (SIGMETRICS 2001/PERFORMANCE 2001, Camebridge, MA, USA, June 16-20, 2001', June 2001 https://doi.org/10.1145/378420.378794
  14. Luthi J.. Llado C.M., 'Splitting Techniques for Interval Parameters In Performance Models.' Technischer Bericht (Technical Report) 2000-07. Fakultat fur Informatik, Universitat der Bundeswehr Munchen, D-85577 Neubiberg, Germany, December 2000
  15. Hofmeister C, Nord R., Soni D., Applied Software Architecture, Addison-Wesley. 2000