Self-adaptive concurrent components

被引:2
|
作者
Osterlund, Erik [1 ]
Lowe, Welf [2 ]
机构
[1] Oracle, Stockholm, Sweden
[2] Linnaeus Univ, Dept Comp Sci, Software Technol Labs, S-35106 Vaxjo, Sweden
基金
瑞典研究理事会;
关键词
Context-aware composition; Self-adaptive components; Concurrent context; IMPLEMENTATION; SOFTWARE;
D O I
10.1007/s10515-017-0219-0
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Selecting the optimum component implementation variant is sometimes difficult since it depends on the component's usage context at runtime, e.g., on the concurrency level of the application using the component, call sequences to the component, actual parameters, the hardware available etc. A conservative selection of implementation variants leads to suboptimal performance, e.g., if a component is conservatively implemented as thread-safe while during the actual execution it is only accessed from a single thread. In general, an optimal component implementation variant cannot be determined before runtime and a single optimal variant might not even exist since the usage contexts can change significantly over the runtime. We introduce self-adaptive concurrent components that automatically and dynamically change not only their internal representation and operation implementation variants but also their synchronization mechanism based on a possibly changing usage context. The most suitable variant is selected at runtime rather than at compile time. The decision is revised if the usage context changes, e.g., if a single-threaded context changes to a highly contended concurrent context. As a consequence, programmers can focus on the semantics of their systems and, e.g., conservatively use thread-safe components to ensure consistency of their data, while deferring implementation and optimization decisions to context-aware runtime optimizations. We demonstrate the effect on performance with self-adaptive concurrent queues, sets, and ordered sets. In all three cases, experimental evaluation shows close to optimal performance regardless of actual contention.
引用
收藏
页码:47 / 99
页数:53
相关论文
共 50 条
  • [1] Self-adaptive concurrent components
    Erik Österlund
    Welf Löwe
    [J]. Automated Software Engineering, 2018, 25 : 47 - 99
  • [2] Self-adaptive mechanism of web components
    Wang, ZJ
    Fei, YK
    [J]. DYNAMICS OF CONTINUOUS DISCRETE AND IMPULSIVE SYSTEMS-SERIES B-APPLICATIONS & ALGORITHMS, 2005, 2 : 468 - 473
  • [3] Formal Specification and Verification of Self-Adaptive Concurrent Systems
    Fakhir, Muhammad Ilyas
    Kazmi, Syed Asad Raza
    [J]. IEEE ACCESS, 2018, 6 : 34790 - 34803
  • [4] Diagnosing Unobserved Components in Self-Adaptive Systems
    Casanova, Paulo
    Garlan, David
    Schmerl, Bradley
    Abreu, Rui
    [J]. 9TH INTERNATIONAL SYMPOSIUM ON SOFTWARE ENGINEERING FOR ADAPTIVE AND SELF-MANAGING SYSTEMS (SEAMS 2014), 2014, : 75 - 84
  • [5] Modeling Self-adaptive Software by Intelligent Service Components
    Fan, R.
    Liang, C. L.
    Liu, X. H.
    [J]. INTERNATIONAL CONFERENCE ON ADVANCED MANAGEMENT SCIENCE AND INFORMATION ENGINEERING (AMSIE 2015), 2015, : 30 - 36
  • [6] Safe Substitution of Components in Self-adaptive Web Applications
    Nakajima, Shin
    [J]. 2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 1, 2013, : 388 - 395
  • [7] Using built-in interoperability with self-adaptive components for RTS
    Colonese, Emilia de Menezes
    [J]. PROCEEDINGS OF THE FIFTH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, 2008, : 639 - 644
  • [8] Research on Self-adaptive Algorithm in Self-adaptive Web System
    Cao, CaiFeng
    Luo, YaoZu
    Gong, Jing
    [J]. PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS RESEARCH AND MECHATRONICS ENGINEERING, 2015, 121 : 25 - 28
  • [9] Fuzzy Organization of Self-Adaptive Agents Based On Software Components
    Siam, Abderrahim
    Maamri, Ramdane
    Sahnoun, Zaidi
    [J]. INTERNATIONAL JOURNAL OF INTELLIGENT INFORMATION TECHNOLOGIES, 2014, 10 (03) : 36 - 56
  • [10] An aspect-oriented approach for developing self-adaptive fractal components
    David, Pierre-Charles
    Ledoux, Thomas
    [J]. SOFTWARE COMPOSITION, 2006, 4089 : 82 - 97