4031_NG_ZHEN_CHENG_._RTS_Assignment_46694_1791934335.docx -...

This preview shows page 1 - 3 out of 28 pages.

The preview shows page 1 - 3 out of 28 pages.
TECHNOLOGY PARK MALAYSIACT087-3-3-RTSReal Time SystemsIndividual AssignmentUC3F2011CSDOCUMENTATIONHAND-OUT DATE: 1st December 2020HAND-IN DATE: 19th March 2020WEIGHTAGE: 40%Lecturer: Dr. Imran MediName: Ng Zhen ChengTP Number: TP048157
Realtime Systems - CT087-3-3Asia Pacific University of Technology & InnovationLevel 3Investigating Java design patterns in relation to performance forApplication ServerNg Zhen Cheng TP048157AbstractThis paper aims to investigate how design patterns and the selection of a programming languageaffects the throughput and resource efficiency of an RTS. The research is conducted with thecreation of two sets of code based on an application server simulation. The simulations aredeveloped in Java where the first is non-optimized while another is optimized. The paper wouldalso investigate software microbenchmarking as it is used as a method for conductingperformance testing for the two simulations. The simulations are evaluated through the Javamicrobenchmarking framework, JMH and JVM monitoring tool, JConsole. JMH would examinethe simulation’s throughput while JConsole would monitor the simulation CPU usage as well asheap memory usage. The assessment of the simulations will be focusing on the resourceefficiency and throughput aspect of a real-time system. The outcome of this research shows thatthe choice of design pattern and programming language does impact significantly towards theperformance of a RTS. Future suggestions of the research are further discussed.Keywords:Concurrency, Java, Memory Performance, Benchmark, SimulationIntroductionThe Internet has been one of the mostimportant technological tools in our moderndaily lives. It helps people in gaining accessto massive amounts of knowledge,information, and entertainment content aswell as opening a wide range of otheropportunities. The web would carry out thistask through displaying a web user interfacefor the clients by utilizing an applicationserver for serving content and relatedinformation. Thus, it is crucial that theapplication server could do this task under atime constraint while achieving a stringentperformance. Based on the requirementsneeded for a web server to successfullycarry out its task, it is considered as a real-time system (RTS). There are manydefinitions as to what a real-time system is.For example, real time systems areembedded systems that have timeconstraints and requirements where thesystem must produce correct output thatmeet these specified requirements andshown at the right time frame according toAbdelsamea, Zorkany and Abdelkader(2016). Nonetheless, the general definitionof RTS is that a system will be classified asreal-time as long as it follows a principlewhere any task must be done correctlybefore the system specified deadline isreached (Delaney, 2018). Deadlines are themost important attribute in any RTS taskwhere it serves as a timing constraint inwhich the task must be completed (Mehtaand Upasna, 2014). Task completion after

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 28 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
NoProfessor
Tags
Real time computing, Asia Pacific University of Technology Innovation, Real time operating system

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture