Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: S Jyothsna, Dr. K. Radhika
DOI Link: https://doi.org/10.22214/ijraset.2024.58756
Certificate: View Certificate
Cloud infrastructure goods and a collection of servers are housed in a cloud datacenter. When a client requests that a particular task be performed, the request is routed to a server that has the resources to do the task. A suitable virtual machine (VM) operating on it in turn handles the request. The current research suggests a cloud-based cost-optimized hybrid load balancing method that chooses the virtual machine to assign jobs depending on the VM\'s availability and its active connections at that precise moment. Also, it examines the prices of the various virtual machines and data transfer cost to choose the one that will fulfill the request for the lowest cost. In almost all test cases, the suggested technique reduced overall response time and cost. Resources are de-provisioned from a pool of resources once they have been used for a set of specific workloads. The quality of service(QOS) for the end customers must be ensured during this processing period. The main objective of this research is to make it possible for end customers to access services at the lowest possible cost and response time.
I. INTRODUCTION
A cloud services provider manages a remote datacenter where computer resources, applications, servers (both physical and virtual), data storage, development tools, networking capabilities, etc. are available on demand over the internet (or CSP). Cloud service companies can utilize the full potential of their data center resources through virtualization.
The biggest obstacle to offering effective services to users without violating SLAs (Service level agreements) is load balancing in a cloud. The load balancing algorithm's goal is to evenly spread the load among the servers in order to ensure the consistency of cloud services.
There are two approaches for load balancing.
In the cloud, cost-optimized load balancing distributes the burden among several servers to increase effectiveness and cut expenses. Here are few methods to accomplish this.
a. Autoscaling: With autoscaling, the number of servers is automatically adjusted based on workload. The number of servers is decreased when there is little demand. This guarantees effective resource use and cuts down on wasteful spending.
b. Use of multiple availability zones: If one zone fails, the workload can be transferred to the other zones using the cloud provider's multiple availability zones. Due to the ability to divide the effort among several zones, this also aids in load balancing.
c. Spot Instances: Spot instances are unused computing resources that are being sold for less money. Spot instances can be used to significantly reduce costs for non-critical tasks. However, we must exercise caution when employing spot instances for crucial workloads because the cost can change depending on demand.
d. Employ a load balancer: To split the workload amongst several servers, use a load balancer. Traffic can be automatically distributed by effective load balancers according to workload. This guarantees effective resource use and cuts down on wasteful spending.
e. Monitor and Optimize: Always keep an eye on the workload and adjust the resource allocation in accordance with traffic patterns. By doing so, any bottlenecks can be found and the resources can be used more effectively.
An algorithm for cost-optimized hybrid distributed load balancing in the cloud (COHLBC) is suggested in this paper. This algorithm is hybrid because it determines whether a virtual machine is available as in a throttled algorithm and assigns the tasks to virtual machines based on the minimal number of active monitoring load monitoring load balancing algorithm. The suggested load balancing method also chooses the lowest-cost virtual machine out of all those that meet the previous requirements.
This approach is used in the cloud analyst simulator and contrasted with three baseline load balancing algorithms—round robin, throttled, and active monitoring—to see which is the best. The four algorithms were examined for the performance criteria total cost, datacenter processing time, and overall response time. When used in the cloud analyst simulator, the proposed cost-optimized load-balancing method significantly cut costs when compared to existing load balancing techniques.
The cloud analyst simulator, which is divided into six different areas throughout the world, allows users to add resources, load balancing rules, and test processing by sending requests from anywhere.
The rest of the paper is organized as follows: A brief summary of the research on load balancing techniques in the cloud is given in Part II. The workflow and algorithm are described in Part III. The simulation environment is described in Part IV. Comprehensive experimental analysis can be found in Section V. The conclusion and future work described in Section VI.
II. LITERATURE REVIEW
In this section, existing and current load balancing algorithms will be examined.
The Priority Weighted Round algorithm An enhancement to the weighted round-robin algorithm that takes into account each task's importance before allocating it to a separate virtual machine(VM)[1].This method determines which VMs the tasks should be dynamically assigned to based on their priority. This algorithm may not be flexible in a dynamic environment because the weights are static and based on the user class, and the priority may vary as user requests are received dynamically in the cloud.
Chowdary and Fatema [2][5] Re-modified throttled algorithm (RTMA) balances loads by updating and maintaining two index tables to keep virtual machines' availability statuses as busy and available and to recognise available VMs with "Available Index"-like throttled algorithm. and addressed the current load on the VM to enhance the Throttled restriction. The performance of this enhanced throttled algorithm will be at its peak when serving the same userbase of requests; nevertheless, it should be further enhanced for other userbases.
In order to enhance VM throughput and achieve load balancing between VMs based on makespan, cost, and resource use, Boonhatai Kruekaewand Warangkhana Kimpan [3] devised a hybrid optimised bee colony algorithm. The ABC algorithm imitates bee colonies' foraging strategies, which call for adaptation to changing habitat and food circumstances. This strategy took into account choosing appropriate VMs based on determining each VM's fitness.
Ant colony optimisation (ACO)[4] makes use of natural parallelism to maximise results by taking into account the constructive feedback of the ants. Ants must deal with a condition that resembles overtraining in reinforcement learning systems, even though this is essentially self-organization rather than learning. The method guarantees convergence, but because it relies on random judgements and the pace of convergence is uncertain, its theoretical analysis is difficult.
In their comparison of the datacenter broker policies "optimise response time," "nearest data centre," and "reconfigure dynamically with load" in cloud analyst, Biswajit Nayak et al. [6-7] found that, on average, both closest data centre and optimised response time rules functioned similarly. Although though dynamic reconfiguration with load policy takes longer than the other two, it still performs well since load balancing takes a little longer.
Three Dynamic Tables were utilised in the dynamic load balancing approach [8] to contain several virtual machines with various configurations and processing rates in various data centres. It focuses on allocating jobs to virtual machines based on load, and it is frequently scheduled as an overloaded virtual machine. The load balancer can find available VMs in Data Centers more quickly thanks to dynamic tables that update their list of available machines on a regular basis. Moreover, jobs may be distributed effectively among various machines with various processing speeds. demonstrated a reduction in the average makespan and response times.
Aggarwal et al. [9] used the algorithm weighted active monitor load balancing policy, which determines the weight of each virtual machine based on factors including RAM, bandwidth, the number of processors, and processor speed. virtual machines were chosen with the highest weights that are accessible to do the work after weighing each virtual machine. By intelligently assigning incoming requests based on the present condition of VMs with weight values, the method controls the server's load.
A genetically based improved min-min task scheduling algorithm for load balancing in cloud computing was proposed by Rajput, (2016) [10]. In order to reduce the makespan and maximise resource efficiency, this work suggested an improved load balanced min-min (ILBMM) algorithm employing genetic algorithms (GA). First, the virtual machine's task execution time is determined. Hence, the virtual machine's (VM) task's minimum or maximum duration is known. Then, to improve task execution, a genetically based strategy was applied to the task's million instructions (MI) and the virtual machine's million instructions per second (MIPS). employed the GA's fitness function, crossover, and mutation.
III. WORKFLOW AND ALGORITHM
In addition to developing a hybrid algorithm that took into account the availability status from throttled and the minimum active connections from active monitoring, the proposed algorithm also attempted to reduce service costs by choosing the active virtual machine (VM) with the lowest cost from the list of available machines to fulfil user requests.
For each job allocation, the proposed optimal method took into account the following:
Fig.2 describes the above sequence of workflow, selection of VM for task allocation. For each request, this keeps happening. The consumer prefers to employ cloud services with reduced costs because the cloud itself is a cost-based service paradigm
As soon as the user request is received, the datacenter controller adds it to the queue. allocates the request to that VM once it has chosen it using the COHDLBC algorithm Fig.3. The Primary objective of this algorithm is to reduce customer costs and response times while still providing effective services. once after the request is processed, the VM state changes to “AVAILABLE” and the datacenter removes the request from queue.
IV. SIMULATION ENVIONMENT
The CloudAnalyst tool, a graphical user interface built on the Cloud Sim Architecture, is used to run the simulation. CloudAnalyst uses the CloudSim architecture to model Data Centers. Due to the distributed nature of cloud infrastructure, requests will originate from all over the world and need to be handled carefully. The real-time scenario with six different geographic locations is provided by the CloudAnalyst simulator. In other words, the number of users from various areas can be detected based on the application. Fig. 4 displays the CloudAnalyst simulation output.
The simulator is incredibly adaptable and offers various resources for testing, including virtual machines, data centres, bandwidth, and more. There are six different geographic locations (six separate continents) taken into account. For all user locations, a single time zone is taken into account.one-hundredth of the total users from each continent is considered and it is assumed that only 5% of all users are online during peak hours and that off-peak hours have a tenth of peak hour usage. Each data centre is capable of hosting a certain number of virtual machines that are required for specific applications.
The proposed load balancing algorithm COHDLBC improved the overall response time and datacenter processing time to process requests in different test cases with varying number of datacenters and virtual machines. The experimental results shows better results in case of response time and cost and also proved that resource utilization is improved as cloudlet loads are shared equally on different virtual machines. The data transfer cost reduced much in proposed algorithm compared to three baseline load balancing algorithms in cloud analyst simulator. The improvement of COHDLBC is because of selecting virtual machines based on minimum connections and cost and also selecting only available virtual machines at that moment so that overload can be prevented by selecting only minimum connections and readily available virtual machine to process the task given. It also reduced cost as the algorithm finds minimum cost virtual machine in every iteration of task allocation.
[1] Katangur, S. Akkaladevi and S. Vivekanandhan, \"Priority weighted round robin algorithm for load balancing in the cloud,\" 2022 ieee 7th international conference on smart cloud (smartcloud), shanghai, china, 2022, pp. 230-235, doi: 10.1109/smartcloud55982.2022.00044. [2] Shieu n. le1 and hung c. tran2 , ”ITA: the improved throttled algorithm of load balancing on cloud computing”, international journal of computer networks and communications(ijcnc) vol.14 no.1 january 2022 [3] B.kruekaew, w. kimpan “Multi-objective task scheduling optimization for load balancing in cloud computing environment using hybrid artificial bee colony algorithm with reinforcement learning”, doi 10.1109/access.2022.3149955, february 17, 2022 [4] Neetu Sharma, Sonal and Puneet garg“Ant colony based optimization model for QoS-based task scheduling in cloud computing environment”, https://www.sciencedirect.com/journal/measurement-sensors,2022 [5] Fatema tuj johora, iftakher ahmed, md. ashiqul islam shajal, rony chowdhory, “a load balancing strategy for reducing data loss risk on cloud using remodified throttled algorithm”, international journal of electrical and computer engineering (ijece), vol. 12, no. 3, june 2022, pp. 3217~3225 issn: 2088-8708, doi: 10.11591/ijece.v12i3.pp3217-3225 [6] Dalia Abdul Kareem Shafiq, N.Z. Jhanjhi and Azween Abdullah,“Load balancing techniques in cloud computing environment: A review” https://doi.org/10.1016/j.jksuci.2021.02.007 [7] Biswajit nayak, bhubaneshwari bisoyi, prashanth kumar pattnaik, “data center selection through service broker policy in cloud computing environment” ,https://doi.org/10.1016/j.matpr.2021.06.185 [8] Soumen swarnakar;ritik kumar; saurabh krishn;chandan banerjee; (2020). improved dynamic load balancing approach in cloud computing . 2020 IEEE 1st international conference for convergence inengineering(icce),doi:10.1109/icce50343.2020.9290602 [9] Aggarwal, V. B.; Bhatnagar, Vasudha; Mishra, Durgesh Kumar (2018). [Advances in Intelligent Systems and Computing] Big Data Analytics Volume 654 || WAMLB: Weighted Active Monitoring Load Balancing in Cloud Computing. , 10.1007/978-981-10-6620-7(Chapter 65), 677–685. [10] Shyam singh rajput and virendra singh kushwah,“A genetic based improved load balanced min-min task scheduling algorithm for load balancing in cloud computing”, 2016 8th international conference on computational intelligence and communication networks (cicn)
Copyright © 2024 S Jyothsna, Dr. K. Radhika. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET58756
Publish Date : 2024-03-03
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here