• NASIBA MAHDI ABDULKAREEM Dept. of IT, Technical College of Informatics-Akre, Duhok Polytechnic University, Duhok, Kurdistan Region-Iraq
  • SUBHI R. M. ZEEBAREE Dept. of Energy Engineering, Technical College of Engineering, Duhok Polytechnic University, Duhok, Kurdistan Region, Iraq
Keywords: Load Balancing Algorithms, DDoS Attacks, Round-Robin Algorithm, Whale Optimization Algorithm, Genetic Algorithm, Particle Swarm Algorithm


Load balancing algorithms are used to deal with DDoS attacks to identify the optimal server and are responsible for the optimal allocation of requests to the servers. The managing method of the distribution of the requests between servers directly impacts network performance. Denial of service (DDoS) attacks are malicious attempts to interrupt regular operation or network traffic in a targeted manner, making disturbances in internet traffic by disrupting the infrastructure of different servers and thus causing problems such as slow site performance. This paper addresses the optimization of load balancing algorithms to deal with DDoS attacks using Whale Optimization Algorithm (WOA) with other closest algorithms (Round-Robin (RR), Particle Swarm Optimization (PSO), and Genetic Algorithms (GA)). The results obtained from implementing these algorithms showed that the WOA performed better than other algorithms in term of speed up the response time to client requests. The whale optimization algorithm can prevent unexpected traffic and block the regular operation of Internet websites by providing a proper plan for distributing requests between servers and reducing the average response speed. So, the authors can prevent DDoS attacks by applying the whale optimization algorithm. It necessary be noted that the use of HAProxy to prevent DDoS is not enough, and depending on the type of attack, several layers of software and hardware security necessary be used


Download data is not yet available.


Danielsen, V. (2021). Detecting Yo-Yo DoS attack in acontainer-based environment (Master's thesis, OsloMet-storbyuniversitetet).
Praseed, A., & Thilagam, P. S. (2018). DDoS attacks at the application layer: Challenges and research perspectives for safeguarding web applications. IEEE Communications Surveys & Tutorials, 21(1), 661-685.
Oricco, P. (2022). Analysis and implementation of load balancers in real-time bidding (Master's thesis, UniversitatPolitècnica de Catalunya).
Shafiq, D. A., Jhanjhi, N. Z., Abdullah, A., &Alzain, M. A. (2021). A Load Balancing Algorithm for the Data Centres to Optimize Cloud Computing Applications. IEEE Access, 9, 41731-41744.
Oricco, P. (2022). Analysis and implementation of load balancers in real-time bidding (Master's thesis, UniversitatPolitècnica de Catalunya).
Hamid, L., Jadoon, A., &Asghar, H. (2022), Comparative analysis of task level heuristic scheduling algorithms in cloud computing. The Journal of Supercomputing, 1-19.
Sharma, V., & Sharma, H. C. A Review of Cloud Computing Scheduling Algorithms.
K.R. RemeshBabu, Philip Samuel (2015).Enhanced Bee Colony Algorithm for Efficient Load Balancing and Scheduling in Cloud, Innovations in Bio-Inspired Computing and Applications, Advances in Intelligent Systems and Computing book series, volume 424, pages 67-78.
U.K. Jena, P.K. Das and M.R. Kabat (2020). Hybridization of meta-heuristic algorithm for load balancing in cloud computing environment, Journal of King Saud University – Computer and Information Sciences, Available online.
K. JairamNaik(2020). A Dynamic ACO-Based Elastic Load Balancer for Cloud Computing(D-ACOELB)”, Data Engineering and Communication Technology, volume 1079, pages 11-20.
F. Ramezani, J. Lu, & F.K. Hussain (2014). Task-Based System Load Balancing in Cloud Computing Using Particle Swarm Optimization, International Journal of Parallel Programming, volume 42, pages739–754.
C.-M. Cheung, K.-C. Leung (2018). DFFR: A flow-based approach for distributed load balancing in data center networks, Computer Communications, volume 116, pages 1-8.
M. Adhikari, T. Amgoth (2018). Heuristic-based load-balancing algorithm for IaaS cloud, Future Generation Computer Systems, volume 81, pages 156-165.
A.Tripathi, S. Shukla, D. Arora (2018). A hybrid optimization approach for load balancing in cloud computing”, Advances in Computer and Computational Sciences, Springer, Singapore, pages 197–206.
F.-H. Tseng, X. Wang, L.-D. Chou, H.-C. Chao, V.C.M. Leung (2018) Dynamic resource prediction and allocation for cloud data center using the multi objective genetic algorithm”, IEEE Systems Journal Volume: 12, Issue: 2, pages 1688 –1699.
Pramono, L. H., Buwono, R. C., &Waskito, Y. G. (2018). Round-robin algorithm in HAProxy and Nginx load balancing performance evaluation: a review. In 2018 International Seminar on Research of Information Technology and Intelligent Systems (ISRITI) (pp. 367-372). IEEE.
Anicas, M. (2017). An introduction to HAProxy and load balancing concepts.
Fahim, Y., Rahhali, H., Hanine, M., Benlahmar, E. H., Labriji, E. H., Hanoune, M., &Eddaoui, A. (2018). Load balancing in cloud computing using meta-heuristic algorithm. Journal of Information Processing Systems, 14(3), 569-589.
Jain, N. K., Nangia, U., & Jain, J. (2018). A review of particle swarm optimization. Journal of the Institution of Engineers (India): Series B, 99(4), 407-411
Mishra, S. K., &Manjula, R. (2020). A meta-heuristic based multi objective optimization for load distribution in cloud data center under varying workloads. Cluster Computing, 23(4), 3079-3093.
Miao, Z., Yong, P., Mei, Y., Quanjun, Y., & Xu, X. (2021). A discrete PSO-based static load balancing algorithm for distributed simulations in a cloud environment. Future Generation Computer Systems, 115, 497-516.
Katoch, S., Chauhan, S. S., & Kumar, V. (2021). A review on genetic algorithm: past, present, and future. Multimedia Tools and Applications, 80(5), 8091-8126.
Vijarania, M., Agrawal, A., & Sharma, M. M. (2021). Task Scheduling and Load Balancing Techniques Using Genetic Algorithm in Cloud Computing. In Soft Computing: Theories and Applications (pp. 97-105). Springer, Singapore.
Mirjalili, S., & Lewis, A. (2016). The whale optimization algorithm. Advances in engineering software, 95, 51-67.
How to Cite
ABDULKAREEM, N. M., & ZEEBAREE, S. R. M. (2022). OPTIMIZATION OF LOAD BALANCING ALGORITHMS TO DEAL WITH DDOS ATTACKS USING WHALE ‎OPTIMIZATION ALGORITHM. Journal of Duhok University, 25(2), 65-85. https://doi.org/10.26682/sjuod.2022.25.2.7
Pure and Engineering Sciences