Abstract
More and more attention has been paid to microservices from traditional monolithic workflows. How to rent on-demand and spot instances for microservice tasks in cloud computing is crucial to save rental costs for customers. According to the out-of-bid failure risks of spot instances and application deadline constraints, it is challenging to adaptively determine the number of on-demand and spot instances, allocate microservice tasks to the rented instances, and reschedule interrupted tasks. In this paper, we consider the problem of scheduling microservice workflows with hybrid resource provisioning. An adaptive-learning based scheduling algorithmic framework is proposed to intelligently sequence, allocate and online adjust tasks as well as monitor spot instance. Strategies for each component are developed. Components and parameter values are statistically calibrated over a comprehensive set of random instances. The proposed algorithm is compared to modified classical algorithms for similar problems. Experimental results demonstrate the effectiveness of the proposal for the considered problem.
Similar content being viewed by others
References
Wang S, Li X, Ruiz R (2019) Performance analysis for heterogeneous cloud servers using queueing theory. IEEE Trans Comput 69(4):563–576
Bernstein D (2015) Containers and cloud: from lxc to docker to kubernetes. IEEE Cloud Comput 1(3):81–84
Wang S, Li X, Ruiz R, Wang Y (2019) Cost minimization for service providers with impatient consumers in cloud computing. In: 2019 IEEE 23rd international conference on computer supported cooperative work in design (CSCWD). IEEE, pp 374–379
Ben-Yehuda O, Ben-Yehuda M, Schuster A, Tsafrir D (2013) Deconstructing amazon ec2 spot instance pricing. ACM Trans Econ Comput 1(3):16
Ostermann S, Prodan R (2012) Impact of variable priced cloud resources on scientific workflow scheduling. In: European conference on parallel processing. Springer, pp 350–362
Topcuoglu H, Hariri S, Min-you W (2002) Performance-effective and low-complexity task scheduling for heterogeneous computing. IEEE Trans Parallel Distrib Syst 13(3):260–274
Byun E-K, Kee Y-S, Kim J-S, Deelman E, Maeng S (2011) Bts: resource capacity estimate for time-targeted science workflows. J Parallel Distrib Comput 71(6):848–862
Jia Y, Buyya R (2006) Scheduling scientific workflow applications with deadline and budget constraints using genetic algorithms. Sci Program 14(3–4):217–230
Yu J, Buyya R, Tham CK (2005) Cost-based scheduling of scientific workflow applications on utility grids. In: First international conference on e-science and grid computing (e-science’05). IEEE, 8 pp
Abrishami S, Naghibzadeh M, Epema D (2012) Cost-driven scheduling of grid workflows using partial critical paths. IEEE Trans Parallel Distrib Syst 23(8):1400–1414
Abrishami S, Naghibzadeh M, Epema DH (2013) Deadline-constrained workflow scheduling algorithms for infrastructure; as a service clouds. Future Gener Comput Syst 29(1):158–169
Cai Z, Li X, Gupta JND (2013) Critical path-based iterative heuristic for workflow scheduling in utility and cloud computing. In: International conference on service-oriented computing
Wu Q, Ishikawa F, Zhu Q, Xia Y, Wen J (2017) Deadline-constrained cost optimization approaches for workflow scheduling in clouds. IEEE Trans Parallel Distrib Syst 28(2):3401–3412
Rodriguez MA, Buyya R (2014) Deadline based resource provisioning and scheduling algorithm for scientific workflows on clouds. IEEE Trans Cloud Comput 2(2):222–235
Bob Familiar (2015) Microservice architecture. Microservices, IoT, and Azure, pp 21–31
Guo D, Wang W, Zeng G, Wei Z (2016) Microservices architecture based cloudware deployment platform for service computing. In: 2016 IEEE symposium on service-oriented system engineering (SOSE). IEEE, pp 358–363
Sill A (2016) The design and architecture of microservices. IEEE Cloud Comput 3(5):76–80
Hasselbring W, Steinacker G (2017) Microservice architectures for scalability, agility and reliability in e-commerce. pp 243–246
Alshuqayran N, Ali N, Evans R (2016) A systematic mapping study in microservice architecture. In: IEEE international conference on service-oriented computing & applications
Villamizar M, Garcés O, Castro H, Verano M, Salamanca L, Casallas R, Gil S (2015) Evaluating the monolithic and the microservice architecture pattern to deploy web applications in the cloud. In: 2015 10th computing colombian conference (10CCC). IEEE, pp 583–590
Ye T, Wang X, Xu X, Chen Y (2017) Dynamic resource allocation algorithm for container-based service computing. In: IEEE international symposium on autonomous decentralized system
Guan X, Wan X, Choi BY, Song S, Zhu J (2017) Application oriented dynamic resource allocation for data centers using docker containers. IEEE Commun Lett 21(3):504–507
Guerrero C, Lera I, Juiz C (2017) Genetic algorithm for multi-objective optimization of container allocation in cloud architecture. J Grid Comput 16(7):113–135
Kai L, Aida K, Yokoyama S, Masatani Y (2016) Flexible container-based computing platform on cloud for scientific workflows. International conference on cloud computing research & innovations
Javadi B, Thulasiram RK, Buyya R (2012) Statistical modeling of spot instance prices in public cloud environments. In: Fourth IEEE international conference on utility & cloud computing
Yi S (2010) Reducing costs of spot instances via checkpointing in the amazon elastic compute cloud. In: IEEE international conference on cloud computing
Plankensteiner K, Prodan R (2012) Meeting soft deadlines in scientific workflows using resubmission impact. IEEE Trans Parallel Distrib Syst 23(5):890–901
Yao G, Ding Y, Hao K (2017) Using imbalance characteristic for fault-tolerant workflow scheduling in cloud systems. IEEE Trans Parallel Distrib Syst 28(2):3671–3683
Poola D, Ramamohanarao K, Buyya R (2016) Enhancing reliability of workflow execution using task replication and spot instances. ACM Trans Auton Adapt Syst (TAAS) 10(4):30
Calheiros RN, Ranjan R, Beloglazov A, César AF (2011) De Rose, and Rajkumar Buyya. Cloudsim: a toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms. Softw Pract Exp 41(1):23–50
Fotuhi PS, Vahid DA, Calheiros Rodrigo N, Rajkumar B (2016) Containercloudsim: an environment for modeling and simulation of containers in cloud data centers. Softw Pract Exp 47:505–521
Acknowledgements
This work is supported by the National Key Research and Development Program of China (No. 2018YFB1402500), the National Natural Science Foundation of China (Nos. 61872077, 61832004) and Collaborative Innovation Center of Wireless Communications Technology.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Gu, H., Li, X., Liu, M. et al. Scheduling method with adaptive learning for microservice workflows with hybrid resource provisioning. Int. J. Mach. Learn. & Cyber. 12, 3037–3048 (2021). https://doi.org/10.1007/s13042-021-01396-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13042-021-01396-4