A hybrid approach using genetic and fruit fly optimization algorithms for QoS-aware cloud service composition



This paper addresses the QoS-aware cloud service composition problem, which is known as a NP-hard problem, and proposes a hybrid genetic algorithm (HGA) to solve it. The proposed algorithm combines two phases to perform the evolutionary process search, including genetic algorithm phase and fruit fly optimization phase. In genetic algorithm phase, a novel roulette wheel selection operator is proposed to enhance the efficiency and the exploration search. To reduce the computation time and to maintain a balance between the exploration and exploitation abilities of the proposed HGA, the fruit fly optimization phase is incorporated as a local search strategy. In order to speed-up the convergence of the proposed algorithm, the initial population of HGA is created on the basis of a heuristic local selection method, and the elitism strategy is applied in each generation to prevent the loss of the best solutions during the evolutionary process. The parameter settings of our HGA were tuned and calibrated using the taguchi method of design of experiment, and we suggested the optimal values of these parameters. The experimental results show that the proposed algorithm outperforms the simple genetic algorithm, simple fruit fly optimization algorithm, and another recently proposed algorithm (DGABC) in terms of optimality, computation time, convergence speed and feasibility rate.


Service composition Cloud computing Quality of service (QoS) Genetic algorithm Fruit fly optimization algorithm 


  1. Alrifai, M., & Risse, T. (2009). Combining global optimization with local selection for efficient QoS-aware service composition. In: International World Wide Web Conference Committee, Madrid, Spain (pp. 881–890).Google Scholar
  2. Alrifai, M., Skoutas, D., & Risse, T. (2010). Selecting skyline services for QoS-based web service composition. In: International World Wide Web Conference Committee, 2010, Raleigh, North Carolina, USA.Google Scholar
  3. Ardagna, D., & Pernici, B. (2007). Adaptive service composition in flexible processes. IEEE Transactions on Software Engineering, 33(6), 369–384.CrossRefGoogle Scholar
  4. Canfora, G., Di Penta, M., Esposito, R., & Villani, M. L. (2005). An approach for QoS-aware service composition based on genetic algorithms. In: Proceedings of the Conference on Genetic and Evolutionary Computation (pp. 1069–1075). Berlin: Springer.Google Scholar
  5. Cremene, M., Suciu, M., Dumitrescu, D., & Pallez, D. (2016). Comparative analysis of multi-objective evolutionary algorithms for QoS-aware web service composition. Applied Soft Computing, 39, 124–139.CrossRefGoogle Scholar
  6. Ding, Z., Liu, J., Sun, Y., Jiang, C., & Zhou, Meng Chu. (2015). A transaction and QoS-aware service selection approach based on genetic algorithm. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 45(7), 1035–1046.CrossRefGoogle Scholar
  7. El Haddad, J., Manouvrier, M., & Rukoz, M. (2010). TQoS: Transactional and QoS-aware selection algorithm for automatic web service composition. IEEE Transactions on Services Computing, 3(1), 73–85.Google Scholar
  8. Gao, Z., Chen, J., Qiu, X., & Meng, L. (2009). QoE/QoS driven simulated annealing-based genetic algorithm for Web services selection. The Journal of China Universities of Posts and Telecommunications, 16(Suppl), 102–107.CrossRefGoogle Scholar
  9. Goldberg, D. E. (1989). Genetic algorithms in search, optimization & machine learning. Reading, MA: Addison-Wesley.Google Scholar
  10. Huo, Y., Zhuang, Y., Gu, J., Ni, S., & Xue, Yu. (2015). Discrete gbest-guided artificial bee colony algorithm for cloud service composition. Applied Intelligence, 42, 661–678.CrossRefGoogle Scholar
  11. Jin, H., Yao, X., & Chen, Y. (2015). Correlation-aware QoS modeling and manufacturing cloud service composition. Journal of Intelligent Manufacturing. doi: 10.1007/s10845-015-1080-2.
  12. Jula, A., Sundararajan, E., & Othman, Z. (2014). Cloud computing service composition: A systematic literature review. Expert Systems with Applications, 41(8), 3809–3824.CrossRefGoogle Scholar
  13. Karaboga, D., & Basturk, B. (2007). A powerful and efficient algorithm for numerical function optimization: Artificial bee colony (ABC). Journal of Global Optimization, 39, 459–471.CrossRefGoogle Scholar
  14. Liao, J., Liu, Y., Zhu, X., & Wang, J. (2014). Accurate sub-swarms particle swarm optimization algorithm for service composition. The Journal of Systems and Software, 90, 191–203.CrossRefGoogle Scholar
  15. Li, Jun-qing, Pan, Quan-ke, Mao, Kun, & Suganthan, P. N. (2014). Solving the steelmaking casting problem using an effective fruit fly optimisation algorithm. Knowledge-Based Systems, 72, 28–36.CrossRefGoogle Scholar
  16. Ma, Y., & Zhang, C. (2008). Quick convergence of genetic algorithm for QoS-driven web service selection. Computer Networks, 52, 1093–1104.CrossRefGoogle Scholar
  17. Montgomery, D. C. (2005). Design and analysis of experiments. Arizona: Wiley.Google Scholar
  18. Mousavi, S. M., Alikar, N., & Niaki, S. T. A. (2015a). An improved fruit fly optimization algorithm to solve the homogeneous fuzzy seriesparallel redundancy allocation problem under discount strategies. Soft Computing,. doi: 10.1007/s00500-015-1641-5.Google Scholar
  19. Mousavi, S. M., Alikar, N., Niaki, S. T. A., & Bahreininejad, A. (2015b). Optimizing a location allocation-inventory problem in a two-echelon supply chain network: A modified fruit fly optimization algorithm. Computers and Industrial Engineering, 87, 543–560.Google Scholar
  20. Pan, W. T. (2012). A new fruit fly optimization algorithm: Taking the financial distress model as an example. Knowledge-Based Systems, 26, 69–74.CrossRefGoogle Scholar
  21. Tang, M., & Ai, L. (2010). A hybrid genetic algorithm for the optimal constrained web service selection problem in web service composition. In: Proceeding of the 2010 world congress on computational intelligence (pp. 1–8). Barcelona.Google Scholar
  22. Tao, F., LaiLi, Y., Xu, L., & Zhang, L. (2013). FC-PACO-RM: A parallel method for service composition optimal-selection in cloud manufacturing system. IEEE Transactions on Industrial Informatics, 9(4), 2023–2033.CrossRefGoogle Scholar
  23. Tao, F., Zhao, D., Hu, Y., & Zhou, Z. (2008). Resource service composition and its optimal-selection based on particle swarm optimization in manufacturing grid system. IEEE Transactions on Industrial Informatics, 4(4), 315–327.CrossRefGoogle Scholar
  24. Wang, L., Shi, Y., & Liu, S. (2015). An improved fruit fly optimization algorithm and its application to joint replenishment problems. Expert Systems with Applications, 42, 4310–4323.CrossRefGoogle Scholar
  25. Wang, S., Sun, Q., Zou, H., & Yang, F. (2013). Particle swarm optimization with skyline operator for fast cloud-based web service composition. Mobile Network and Application, 18, 116–121.CrossRefGoogle Scholar
  26. Wang, D., Yang, Y., & Mi, Z. (2015). A genetic-based approach to web service composition in geo-distributed cloud environment. Computers and Electrical Engineering, 43, 129–141.CrossRefGoogle Scholar
  27. Wang, L., Zheng, X. L., & Wang, S. Y. (2013). A novel binary fruit fly optimization algorithm for solving the multidimensional knapsack problem. Knowledge-Based Systems, 48, 17–23.CrossRefGoogle Scholar
  28. Wu, Q., & Zhu, Q. (2013). Transactional and QoS-aware dynamic service composition based on ant colony optimization. Future Generation Computer Systems, 29, 1112–1119.CrossRefGoogle Scholar
  29. Wu, Q., Zhu, Q., & Zhou, M. (2014). A correlation-driven optimal service selection approach for virtual enterprise establishment. Journal of Intelligent Manufacturing, 25, 1441–1453.CrossRefGoogle Scholar
  30. Xue, X., Wang, S., & Lu, B. (2016). Manufacturing service composition method based on networked collaboration mode. Journal of Network and Computer Applications, 59, 28–38.CrossRefGoogle Scholar
  31. Zeleny, M. (1982). Multiple criteria decision making. New York: McGraw-Hill.Google Scholar
  32. Zeng, L. Z., Benatallah, B., Ngu, A. H. H., Dumas, M., Kalagnanam, J., & Chang, H. (2004). QoS-aware middleware for web services composition. IEEE Transactions on Software Engineering, 30(5), 311–327.CrossRefGoogle Scholar
  33. Zhang, Y., Cui, G., Wang, Y., Guo, X., & Zhao, Shu. (2015). An optimization algorithm for service composition based on an improved FOA. Tsinghua Science and Technology, 20(1), 90–99.Google Scholar
  34. Zhang, B., Pan, Q.-K., Zhang, X.-L., & Duan, P.-Y. (2015). An effective hybrid harmony search-based algorithm for solving multidimensional knapsack problems. Applied Soft Computing, 29, 288–297.CrossRefGoogle Scholar
  35. Zhao, J., & Xiaofang, Y. (2015). Multi-objective optimization of stand-alone hybrid PV-wind-diesel-battery system using improved fruit fly optimization algorithm. Soft Computing. doi: 10.1007/s00500-015-1685-6
  36. Zheng, X., Wang, L., & Wang, S. (2014). A novel fruit fly optimization algorithm for the semiconductor final testing scheduling problem. Knowledge-Based Systems, 57, 95–103.CrossRefGoogle Scholar

Copyright information

© Springer Science+Business Media New York 2016

Authors and Affiliations

  1. 1.Department of Computer ScienceUniversity of Ferhat Abbas-Setif 1SétifAlgeria

Personalised recommendations