Run-time Variability with Roles.
Degree: PhD, Fakultät Informatik, 2018, Technische Universität Dresden
Adaptability is an intrinsic property of software systems that require adaptation to cope with dynamically changing environments. Achieving adaptability is challenging. Variability is a key solution as it enables a software system to change its behavior which corresponds to a specific need. The abstraction of variability is to manage variants, which are dynamic parts to be composed to the base system. Run-time variability realizes these variant compositions dynamically at run time to enable adaptation. Adaptation, relying on variants specified at build time, is called anticipated adaptation, which allows the system behavior to change with respect to a set of predefined execution environments. This implies the inability to solve practical problems in which the execution environment is not completely fixed and often unknown until run time. Enabling unanticipated adaptation, which allows variants to be dynamically added at run time, alleviates this inability, but it holds several implications yielding system instability such as inconsistency and run-time failures. Adaptation should be performed only when a system reaches a consistent state to avoid inconsistency. Inconsistency is an effect of adaptation happening when the system changes the state and behavior while a series of methods is still invoking. A software bug is another source of system instability. It often appears in a variant composition and is brought to the system during adaptation. The problem is even more critical for unanticipated adaptation as the system has no prior knowledge of the new variants.
This dissertation aims to achieve anticipated and unanticipated adaptation. In achieving adaptation, the issues of inconsistency and software failures, which may happen as a consequence of run-time adaptation, are evidently addressed as well. Roles encapsulate dynamic behavior used to adapt players representing the base system, which is the rationale to select roles as the software system's variants. Based on the role concept, this dissertation presents three mechanisms to comprehensively address adaptation. First, a dynamic instance binding mechanism is proposed to loosely bind players and roles. Dynamic binding of roles enables anticipated and unanticipated adaptation. Second, an object-level tranquility mechanism is proposed to avoid inconsistency by allowing a player object to adapt only when its consistent state is reached. Last, a rollback recovery mechanism is proposed as a proactive mechanism to embrace and handle failures resulting from a defective composition of variants. A checkpoint of a system configuration is created before adaptation. If a specialized bug sensor detects a failure, the system rolls back to the most recent checkpoint. These mechanisms are integrated into a role-based runtime, called LyRT.
LyRT was validated with three case studies to demonstrate the practical feasibility. This validation showed that LyRT is more advanced than the existing variability approaches with respect to adaptation due to its consistency control and…
Advisors/Committee Members: Schill, Alexander (advisor), Schlegel, Thomas (advisor), Mens, Kim (referee).
to Zotero / EndNote / Reference
APA (6th Edition):
Taing, N. (2018). Run-time Variability with Roles. (Doctoral Dissertation). Technische Universität Dresden. Retrieved from http://nbn-resolving.de/urn:nbn:de:bsz:14-qucosa-234933
Chicago Manual of Style (16th Edition):
Taing, Nguonly. “Run-time Variability with Roles.” 2018. Doctoral Dissertation, Technische Universität Dresden. Accessed January 21, 2019.
MLA Handbook (7th Edition):
Taing, Nguonly. “Run-time Variability with Roles.” 2018. Web. 21 Jan 2019.
Taing N. Run-time Variability with Roles. [Internet] [Doctoral dissertation]. Technische Universität Dresden; 2018. [cited 2019 Jan 21].
Available from: http://nbn-resolving.de/urn:nbn:de:bsz:14-qucosa-234933.
Council of Science Editors:
Taing N. Run-time Variability with Roles. [Doctoral Dissertation]. Technische Universität Dresden; 2018. Available from: http://nbn-resolving.de/urn:nbn:de:bsz:14-qucosa-234933