Dynamic systems that are capable of reconfiguring themselves use message queues as a common method to achieve decoupling between senders and receivers. Predicting the quality of systems at the design stage is crucial, as changes within later stages of development have a significantly higher cost attached to them. At the moment, there is no well-established method to represent message queues on an architectural level and predict their impact on the quality of systems. Existing approaches do not model queues explicitly and do not consider queuing effects or details of the messaging infrastructure such as flow control. In order to facilitate a representation thereof, this thesis proposes a meta-model, as well as a simulation interface between a simulation of a component-based architecture description language and a messaging simulation. The meta-model has been realized as an extension to the Palladio Component Model. The interface has been implemented for SimuLizar, which is a Palladio simulator, and a RabbitMQ inspired messaging simulation that adheres to the AMQP 0.9.1 protocol. This enables architectural representation of messaging and predicting quality attributes of message-driven, self-adaptive systems. The evaluation with a case study shows the applicability of the approach and its prediction accuracy for point-to-point communication. Moreover, other quality-related attributes, such as queue length, queue input and output rates, and memory consumption, have been predicted correctly. This provides deeper insights into the quality of a system. We also argue that the approach in this work is capable of simulating self-adaptive message-driven systems that reconfigure based on various metrics.
| Related KIT institution | Institute for Program Structures and Data Organisation (IPD) |
|---|---|
| Language | English |
| KITopen ID | 1000121131 |
| Keywords | software engineering, model-driven software development, message-driven systems, self-adaptive systems, simulation, message-oriented middleware, MOM, performance prediction, AMQP, RabbitMQ, Palladio |
| Exam data | 25.05.2020 |
| Supervisor | Jörg Henß |
| Referenced in | OpenAlex |