Master thesis
Cite …

Modeling and Simulation of Message-Driven Self-Adaptive Systems

DOI: 10.5445/IR/1000121131
PDF published on Jul 10, 2020
CC BY 4.0
Abstract

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.