5 CONCLUSION AND FUTURE
WORKS
In this article we have considered the case of a
microservice-based application deployed on devices
distributed on the edge of the network. We observed
that variations of parameters on these edge devices,
such as network QoS, may impact the response-time
of the application. We proposed a solution to dy-
namically adapt the placement of the microservices
to these variations. The adaptation process we de-
scribed in this article is based on the knowledge of
the response-time of each microservice. These values
are directly measured by the devices participating to
the application and stored in RT matrices. The PSO
heuristic uses these values to propose adapted place-
ment solutions.
We evaluated on a production infrastructure two
strategies to decide when the system should adapt
the placement of the microservices. A first proac-
tive strategy tries to periodicaly adapt this placement.
We observed that half of the adaptations resulted in
a deterioration of the response-time. We explained
that, when such adaptation occurred, the RT matri-
ces were inconsistent with the actual response-times.
We proposed to supplement this strategy with a reac-
tive behavior which allows the system to trigger a new
adaptation in case of deviations of the response-time.
We concluded from our experiments that this strategy
gave satisfactory results.
We observed that the reactive strategy resulted in
consecutives iterations where several placements are
tested. These iterations led to a perceptible unstabil-
ity of the response-time of the application. To keep
a stable experience for the users, we propose, as an
improvement of the solution, to test these alternative
placements in parallel with the current deployment of
the application. Thanks to the flexibility of microser-
vices, a subset of the clients can transparently use an
alternative deployment of the application. Measure-
ments from the devices participating in this deploy-
ment will help the heuristic to find a suitable place-
ment solution.
REFERENCES
Aryal, R. G. and Altmann, J. (2018). Dynamic applica-
tion deployment in federations of clouds and edge re-
sources using a multiobjective optimization AI algo-
rithm. In Third International Conference on Fog and
Mobile Edge Computing (FMEC).
Aschoff, R. and Zisman, A. (2011). QoS-Driven Proac-
tive Adaptation of Service Composition. In Service-
Oriented Computing, Springer.
Brogi, A., Forti, S., Guerrero, C., and Lera, I. (2019). How
to Place Your Apps in the Fog – State of the Art and
Open Challenges. Software: Practice and Experience.
Cardellini, V., Casalicchio, E., Grassi, V., Iannucci, S.,
Lo Presti, F., and Mirandola, R. (2017). MOSES:
A Platform for Experimenting with QoS-Driven Self-
Adaptation Policies for Service Oriented Systems. In
Soft. Eng. for Self-Adaptive Systems. Springer.
Cunsolo, V. D., Distefano, S., Puliafito, A., and Scarpa,
M. (2009). Volunteer Computing and Desktop Cloud:
The Cloud@Home Paradigm. In IEEE International
Symposium on Network Computing and Applications.
Egger, S., Reichl, P., Hoßfeld, T., and Schatz, R. (2012).
Time is bandwidth ? Narrowing the gap between sub-
jective time perception and Quality of Experience. In
IEEE International Conference on Communications.
Kephart, J. and Walsh, W. (2003). An architectural blueprint
for autonomic computing. Technical report, IBM.
Khan, A. M., Selimi, M., and Freitag, F. (2014). Towards
Distributed Architecture for Collaborative Cloud Ser-
vices in Community Networks. In 6th International
Conference on Intelligent Networking and Collabora-
tive Systems (INCoS’14). Salerno, Italy: IEEE.
Khorsand, R., Ghobaei-Arani, M., and Ramezanpour, M.
(2018). FAHP approach for autonomic resource pro-
visioning of multitier applications in cloud computing
environments. Software: Practice and Experience.
Mutanu, L. and Kotonya, G. (2018). What, Where, When,
How and Right of Runtime Adaptation in Service-
Oriented Systems. In Service-Oriented Computing –
ICSOC 2017 Workshops, Lecture Notes in Computer
Science, pages 30–42. Springer.
Nishio, T., Shinkuma, R., Takahashi, T., and Mandayam,
N. B. (2013). Service-oriented Heterogeneous Re-
source Sharing for Optimizing Service Latency in Mo-
bile Cloud. In First International Workshop on Mobile
Cloud Computing & Networking.
Singh, S. and Chana, I. (2015). QoS-Aware Autonomic Re-
source Management in Cloud Computing: A System-
atic Review. ACM Comput. Surv., 48.
Skarlat, O., Karagiannis, V., Rausch, T., Bachmann, K., and
Schulte, S. (2018). A Framework for Optimization,
Service Placement, and Runtime Operation in the Fog.
In 2018 IEEE/ACM 11th International Conference on
Utility and Cloud Computing (UCC), pages 164–173.
Stevant, B., Pazat, J.-L., and Blanc, A. (2018). Optimizing
the Performance of a Microservice-Based Application
Deployed on User-Provided Devices. In 2018 17th
International Symposium on Parallel and Distributed
Computing (ISPDC), pages 133–140.
Yousefpour, A., Patil, A., Ishigaki, G., Kim, I., Wang, X.,
Cankaya, H. C., Zhang, Q., Xie, W., and Jue, J. P.
(2019). FOGPLAN: A Lightweight QoS-Aware Dy-
namic Fog Service Provisioning Framework. IEEE
Internet of Things Journal, 6(3):5080–5096.
Zhang, W., Hu, Y., Zhang, Y., and Raychaudhuri, D. (2016).
SEGUE: Quality of Service Aware Edge Cloud Ser-
vice Migration. In 2016 IEEE International Confer-
ence on Cloud Computing Technology and Science
(CloudCom), pages 344–351.
CLOSER 2020 - 10th International Conference on Cloud Computing and Services Science
244