We enable reliable and dependable self‐adaptations of component connectors in unreliable environments with imperfect monitoring facilities and conflicting user opinions about adaptation policies by developing a framework which comprises: (a) mechanisms for robust model evolution, (b) a method for adaptation reasoning, and (c) tool support that allows an end‐to‐end application of the developed techniques in real‐world domains.
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Connectors
1. A Framework for Robust Control of Uncertainty
in Self-Adaptive Software Connectors
Pooyan Jamshidi
Lero – the Irish Software Engineering Research Centre
School of Computing, Dublin City University
Pooyan.jamshidi@computing.dcu.ie
Supervised by: Dr. Claus Pahl
Environment=D
Environment=D’
Environment=D’
Adapted to satisfy
requirements
while it is runningü Reliable (Robust)
ü Run-time Efficient
8. 0.2
0.8
S D T L
S
0 0 10 0
D
6 0 0 0
T
0 6 0 4
L
0 0 2 0
6
CTMC (Continuous-Time Markov Chain)
DTMC (Discrete-Time Markov Chain)
S D T L
S
0 0 1 0
D
1 0 0 0
T
0 0.9 0 0.1
L
0 0 1 0
8
19. 0 0.5 1 1.5 2 2.5 3
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
Region of
definite
satisfaction
Region of
definite
dissatisfactionRegion of
uncertain
satisfaction
Performance Index
Possibility
Performance Index
Possibility
words can mean different
things to different people
Different users often
recommend
different adaptation policies
0 0.5 1 1.5 2 2.5 3
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
Type-2 MF
Type-1 MF
19
22. Rule
(𝒍)
Antecedents Consequent
𝒄 𝒂𝒗𝒈
𝒍
Workload
Response-
time
Normal
(-2)
Effort
(-1)
Medium
Effort
(0)
High
Effort
(+1)
Maximum
Effort (+2)
1 Very low Instantaneous 7 2 1 0 0 -1.6
2 Very low Fast 5 4 1 0 0 -1.4
3 Very low Medium 0 2 6 2 0 0
4 Very low Slow 0 0 4 6 0 0.6
5 Very low Very slow 0 0 0 6 4 1.4
6 Low Instantaneous 5 3 2 0 0 -1.3
7 Low Fast 2 7 1 0 0 -1.1
8 Low Medium 0 1 5 3 1 0.4
9 Low Slow 0 0 1 8 1 1
10 Low Very slow 0 0 0 4 6 1.6
11 Medium Instantaneous 6 4 0 0 0 -1.6
12 Medium Fast 2 5 3 0 0 -0.9
13 Medium Medium 0 0 5 4 1 0.6
14 Medium Slow 0 0 1 7 2 1.1
15 Medium Very slow 0 0 1 3 6 1.5
16 High Instantaneous 8 2 0 0 0 -1.8
17 High Fast 4 6 0 0 0 -1.4
18 High Medium 0 1 5 3 1 0.4
19 High Slow 0 0 1 7 2 1.1
20 High Very slow 0 0 0 6 4 1.4
21 Very high Instantaneous 9 1 0 0 0 -1.9
22 Very high Fast 3 6 1 0 0 -1.2
23 Very high Medium 0 1 4 4 1 0.5
24 Very high Slow 0 0 1 8 1 1
25 Very high Very slow 0 0 0 4 6 1.6
Rule
(𝐥)
Antecedents Consequent
𝒄 𝒂𝒗𝒈
𝒍Work
load
Response
-time
M
1
M
2
M
3
M
4
M
5
12 Medium Fast 2 5 3 0 0 -0.9
10 experts’ responses
𝑅-: IF (the workload (𝑥!) is )𝐹.#
, AND the response-
time (𝑥$) is )𝐺.(
), THEN (change the connector mode
to …).
𝑐/01
- =
∑23!
4)
𝑤2
-
×𝐶
∑23!
4)
𝑤2
-
Goal: pre-computations of costly calculations
to make a runtime efficient adaptation
reasoning based on fuzzy inference 22
23. Liang, Q., Mendel, J. M. (2000). Interval type-2 fuzzy
logic systems: theory and design. Fuzzy Systems, IEEE
Transactions on, 8(5), 535-550.
Adaptation Actions
Monitoring Data
23
38. 0.05
0.1
0.15
0.2
0.25
0.3
0.35
Type-1 FLS Type-2 FLS
RMSE
• The rule reduction reduced the rules
quite considerably.
• IT2 FLCs are more robust due to less
mean error and less variation in the
estimation error.
• T1 FLCs in some realization drop more
rules in comparison with the IT2 FLCs.
• IT2 FLC original designs can be designed
with less rules.
38
47. RQ0: “How to enable a robust and runtime efficient self-
adaptation for software connectors and make them reliable
to be used in Open environments?”
R
~
Knowledge
Specification
Uncertainty
Measurement
Inaccuracy
Naeem Esfahani and Sam Malek,
“Uncertainty in Self-Adaptive
Software Systems”
47
49. dA: 4 dD: 2
A_Lost: 4
dA dD
A_Lost
A2B
B2F
F2C
C2F
F2D
Variable model parameters
Fixed model parameter
Rate of
message output
Rate of
message lost
Rate of
message input
49
50. 0.84
0.031
0.056
50C. Ghezzi, V. PanzicaLa Manna, Alfredo Motta, G. Tamburrelli, "QoS Driven Dynamic Binding
in-the-many", QoSA 2010, Prague, June 23-25, 2010.
64. SUT Criteria Big spike Dual phase
Large
variations
Quickly
varying
Slowly
varying
Steep tri
phase
RobusT2Scale
𝑟𝑡?@% 973ms 537ms 509ms 451ms 423ms 498ms
𝑣𝑚 3.2 3.8 5.1 5.3 3.7 3.9
Overprovisioning
𝑟𝑡?@% 354ms 411ms 395ms 446ms 371ms 491ms
𝑣𝑚 6 6 6 6 6 6
Under
provisioning
𝑟𝑡?@% 1465ms 1832ms 1789ms 1594ms 1898ms 2194ms
𝑣𝑚 2 2 2 2 2 2
SLA: 𝒓𝒕 𝟗𝟓 ≤ 𝟔𝟎𝟎𝒎𝒔
For every 10s control interval
•RobusT2 is superior to under-provisioning in terms of
guaranteeing the SLA and does not require excessive
resources
•RobusT2 is superior to over-provisioning in terms of
guaranteeing required resources while guaranteeing the SLA 64
69. Framework
Source of Uncertainty Feedback Control Loop (MAPE-K)
EvaluationAdaptation
policy
Noisy
data
Simplificatio
n
Change
enactment
Users in
the loop
Dynamic
environment
M A P E K
RequirementSpecification
RELAX Fuzzy goal model Case study
AutoRELAX Fuzzy goal model
Experimental
study
FLAGS Fuzzy goal model Example
Goal-Driven Self-Optimization Prob. Prob. Prob. goal reasoning goal model
Experimental
study
REAssuRE Fuzzy goal reasoning goal model Example
(N Bencomo & Belaggoun, 2013) Prob. goal reasoning
Decision
model
Experimental
study
C/E/I
RCU (This Work) Fuzzy Prob. Control √ (Bayesian learning)
constraint
evaluation
Fuzzy reasoning
Mode
change
Markov
models +
Fuzzy rule
Experimental
study
Partial satisfaction of requirements @ design-time
Resolution @ runtime
Claim
Goal realization
69
70. Internal
Rainbow Prob. Prob. √
constraint
evaluation
√
Architecture
model
Experimental
study
POISED Fuzzy Fuzzy Fuzzy optimization
Architecture
model
Experimental
study
(Cámara et al., 2014) Prob. game analysis
Architecture
model
Experimental
study
ADC Prob. utility reasoning Utility Case study
Framework
Source of Uncertainty Feedback Control Loop (MAPE-K)
EvaluationAdaptation
policy
Noisy
data
Simplificatio
n
Change
enactment
Users in
the loop
Dynamic
environment
M A P E K
C/E/I
RCU (This Work) Fuzzy Prob. Control √ (Bayesian learning)
constraint
evaluation
Fuzzy reasoning
Mode
change
Markov
models +
Fuzzy rule
Experimental
study
Use different theories and reasoning mechanisms to
determine the impact of system change on the quality
properties…e.g., replacing a component on response-
time
70
71. External
FUSION Prob. Prob.
√
(learning)
√
Feature
model
Experimental
study
RESIST Prob. Prob. Prob.
√
(learning)
√
Markov
models
Experimental
study
ADAM Prob.
√
(learning)
√
Markov
models
Experimental
study
KAMI Prob.
√
(learning)
constraint
evaluation
Markov
models
Experimental
study
Veritas/Loki Prob.
test case
verification
test plan
verification;
optimization
Test cases
Experimental
study
C/E/I
RCU (This Work) Fuzzy Prob. Control √ (Bayesian learning)
constraint
evaluation
Fuzzy reasoning
Mode
change
Markov
models +
Fuzzy rule
Experimental
study
Framework
Source of Uncertainty Feedback Control Loop (MAPE-K)
EvaluationAdaptation
policy
Noisy
data
Simplificatio
n
Change
enactment
Users in
the loop
Dynamic
environment
M A P E K
White-box, black-box or gray-box learning approaches
to mitigate environmental uncertainty
71
72. Control
(Antonio Filieri et al., 2014) Control
controller
synthesis
Regression
models
Experimental
study
(Zhu et al., 2009) Control
integral
controller
Regression
models
Experimental
study
C/E/I
RCU (This Work) Fuzzy Prob. Control √ (Bayesian learning)
constraint
evaluation
Fuzzy reasoning
Mode
change
Markov
models +
Fuzzy rule
Experimental
study
Framework
Source of Uncertainty Feedback Control Loop (MAPE-K)
EvaluationAdaptation
policy
Noisy
data
Simplificatio
n
Change
enactment
Users in
the loop
Dynamic
environment
M A P E K
Fuzzy control (knowledge-based) vs. classic (model-based)
Increasing attention in SE community, Dagstuhl seminar,
ICSE’14,…
72
73. Design-time
GuideArch Fuzzy (utility) --
Optimization
(arch. selection)
-- Case study
EAGLE Prob. -- Goal verification Synthesis -- Example
MAVO --
Partial model
reasoning
-- Case study
(H. Yang et al., 2012) --
Machine
learning
Rule reasoning --
Experimental
study
(Arora et al., 2012) --
Feature
interaction
-- Case study
(Letier & van Lamsweerde, 2004) Prob. --
Partial goal
verification
--
(Letier et al., 2014) --
Monte-Carlo
simulation
Pareto-based
optimization
--
Experimental
study
Framework
Source of Uncertainty Feedback Control Loop (MAPE-K)
EvaluationAdaptation
policy
Noisy
data
Simplificatio
n
Change
enactment
Users in
the loop
Dynamic
environment
M A P E K
C/E/I
RCU (This Work) Fuzzy Prob. Control √ (Bayesian learning)
constraint
evaluation
Fuzzy reasoning
Mode
change
Markov
models +
Fuzzy rule
Experimental
study
User involvement and optimization based approaches
may not be necessarily applicable for runtime reasoning
73