ISSN ONLINE(2320-9801) PRINT (2320-9798)

All submissions of the EM system will be redirected to Online Manuscript Submission System. Authors are requested to submit articles directly to Online Manuscript Submission System of respective journal.

Effective Load Balancing for Cloud Computing using Hybrid AB Algorithm

1N. Sasikala1 and Dr. D. Ramesh2
  1. PG Scholar, Department of CSE, University College of Engineering (BIT Campus), Tiruchirappalli, Tamil Nadu, India
  2. Asst. Professor, Department of CSE, University College of Engineering (BIT Campus), Tiruchirappalli, Tamil Nadu, India
Related article at Pubmed, Scholar Google

Visit for more related articles at International Journal of Innovative Research in Computer and Communication Engineering


Problem Statement: Cloud Computing is the fast growing technology, which shares the resource to achieve consistency and economies of scale similar to a utility over a network. Resource sharing requires more optimized algorithm. Approach: In traditional many static algorithms are proposed, but all these algorithms do not produce optimal job scheduling and load balancing. In order to reduce the waiting time and execution time, the hybrid AB algorithm is proposed. The hybrid AB algorithm is a combination of two dynamic algorithms, Ant Colony Optimization and Bees Life algorithm. Results: Ant Colony algorithm solves load balancing problem in cloud and Bees Life algorithm is used for optimal job scheduling. Conclusion: The result of the proposed study shows that the hybrid AB algorithm will effectively balances the load than other existing systems.


Cloud Computing, Load Balancing, Ant Colony Optimization, Bees Life algorithm


Cloud makes us to access information from anywhere at any time. Cloud computing is a variety of computing concepts that involve a large number of computers connected through a network such as Internet. Cloud providers offers services as Infrastructure as a services (IaaS), Platform as a services (PaaS) and Software as a services (SaaS). Infrastructure as a services supply these resources on-demand from their pools installed in data centres. Platform as a service typically includes operating system, programming language execution environment and web server. Software as a service provides access to application software and database.
In distributed system, the load balancing is a process of distributing the load among various node to improve the resource utilization and job response time. Load balancing is to assign the workload equally as soon as possible. The traditional job scheduling algorithm works for minimum number of jobs alone as static nature. But, now-a-days user needs dynamic environment for getting fast job allocation and quick response time. In existing there are many dynamic algorithms such as Ant Colony, Bee Colony, Bees Life algorithm, Particle Swarm Optimization and job scheduling algorithm.
Ant colony optimization algorithm is used to determine the load balancing problem in cloud. Ant finds the optimal path i.e. destination based on the behaviour of ant. When ant goes for searching, it leaves pheromone when moving. All incoming ant must update on the pheromone table for scheduling. Pheromone table row contain routing preference for each destination and column represents the probability of choosing a neighbour as the next hop. After ant reaches the destination it must update in pheromone table. According to the probability in table, the highest probability is taken as a destination path; it will be shortest path than other path.
Bees life algorithm is an optimization algorithm used for job scheduling. Bees colony contains single breeding female bee called queen and male known as Drones. Bees start with scout bees with initial population first the bees choose randomly in space. Then, fitness is calculated for bees. The highest fitness is chosen as “selected bees” and remaining bees are workers. The selected bees alone visit the site by choosing neighbour search.


Jing Liu et al. (2013) proposed Multi Objective Genetic Algorithm (MO-GA) for dynamic job scheduling. This algorithm combines both random and greedy initialization methods. In genetic algorithm the fitness is calculated by energy consumption and profits of the service providers. The best fitness is selected and stored in pareto. Then selection operation can be done by two strategies: elitism and crowding. After the selection process crossover operation can be done by two individuals. Mutation swaps their position to generate new individuals This MO-GA is used to minimize the energy consumption and to maximize the profit of service providers.
Linan Zhu et al. (2012) proposed Ant Colony Optimization algorithm to solve travelling sales man problem. Ant colony algorithm chooses the target path through the pheromone strength so task amount spent is less than other algorithm. This ant colony algorithm achieves QOS requirement and shortest path. Thus ant colony algorithm gives more efficient result for calculating node distribution and load balancing.
Tasquia Mizan et al. (2012) proposed modified task scheduling algorithm based on the concept of bees life algorithm and greedy algorithm to get a optimal service in hybrid cloud. Bee life algorithm are residential for task scheduling with greedy method will selects the randomly for one data centre. In modified job scheduling the jobs are processed in the queue using non-premptive priority queue. First the tasks enter to the BLA algorithm and to greedy method to get optimal solution. The makespan can be reduced by this hybrid algorithm.
Yuvaraj Kumar et al. (2012) proposed fuzzy bee colony technique, which works in localized and selfmotivated manner. The honey bee colony is a division of labour between the forgers, they work in the field of collecting the nectar at random search, after getting the nectar it returns back to the hive and it starts waggle dance. This dance is closely correlated with the search time experienced by dancing bees. By using this technique resource utilization can be maximized.


In proposed system, the ant colony and bees life algorithm are combined to improve the effectiveness of load balancing and cloud scheduling. The bees’ life algorithm searches neighbour node and collect information (bandwidth, execution time, free memory space) from all neighbour nodes, and maintains as a table. If user gives any job as an input to cloud, the BLA first gets the job details and calculates the fitness for each job. The fitness value can be calculated by Fitness(DCTasks)= Σ(Fitness(JTaskij, DCj))
Fitness(JTaskij, DCj) = JTaskij.TimeToExe
JTaskij.TimeToExe – execution time of job ‘i’ need to run in DCj.
From the above fitness value, the best fitness value alone is taken to next generation. The BLA table information’s are given to UN (Updation Node), this node also contains ANT COLONY table information such as past history of each node, available resource and best path to resource allocation. The UN node chooses the best path for resource allocation and shares the workload all VMs.


The proposed Cloud Monitor node helps in effective scheduling of workloads. The cloud Monitor node is nothing but one of the active node of the cloud. The Cloud Monitor node is elected from the list of available cloud nodes based on the computational power, storage availability, RAM etc.,
The functionalities of the Cloud Monitor Node are ,
a) It receives the query from the user
b) It assigns the job scheduing effecively,
c) It splits the job as tasks whenever required.
In this system design the user schedules the job to cloud through BLA and ANT algorithm. Both give their calculation to control node. The BLA calculates the resource available in cloud and gives to control node. This ANT COLONY checks for available resource in cloud by BLA result and makes perfect scheduling for user to cloud.
The node is selected in cloud by its performance. If the node fails then another node is selected by which node having priority to become a master node. Thus improves the performance of scheduling than other algorithm.


// pseudo code for Bees life algorithm
Initialize population (N bees) at random
Evaluate fitness of population (fittest bee is the queen, D fittest following bees are drones, W fittest remaining bees are
While stopping criteria are not satisfied (Forming new population)
/* reproduction behaviour */
Generate N broods by crossover and mutation
Evaluate fitness of broods
If the fittest brood is fitter than the queen then replace the queen for the next generation
Choose D best bees among D fittest following broods and drones of current population (Forming next generation
Choose W best bees among W fittest remaining broods and workers of current population (to ensure food foraging)
/* food foraging behaviour */
Search of food source in W regions by W workers
Recruit bees for each region for neighbourhood search (more bees (FBest) for the best B regions and (FOther) for remaining regions)
Select the fittest bee from each region
Evaluate fitness of population (fittest bee is the queen, D fittest following bees are drones, W fittest remaining bees are workers)
End while
//pseudo code for updation node
If node has high priority than other node
Choose the highest priority node as master node
Execution time storage capacity and performance level
If master node fails
Then select an alternative node which has next priority to become a master
If the other slave nodes fails
Use a Gossip protocol to get a alive message from all nodes
Which node gives alive message
Select all alive paths and find the shortest path by ant colony optimization algorithm
// pseudo code for ant colony optimization
Initialize parameters
Initialize pheromone trails
Create Ants
While stopping criteria is not reached do
Let all ants construct their solution
Update pheromone trails
Allow Daemon actions
End while
ACO is framed from the optimal search capability of an ant colony that searches for a common source of food. It has been observed that ants are able to find the shortest path to such a source under certain circumstances by indirect communication. This communication is done by the so-called pheromone values. The behaviour of ants is put into an algorithmic framework to obtain solutions for a given problem. Solutions are constructed by random moments of artificial ants on a so-called construction graph, which has weights of the pheromone values on the edges. Larger pheromone values leads to higher probability of the edges being traversed in the next walk. In addition, the random walk is usually influenced by heuristic information about the problem.


For better performance comparison we have formulated several test cases for bee’s algorithm. Each test case can be formed based on the range of execution time. Test case can be assigned as data centres for cloud allocation. For ex. If job execution time is 150 then it can be allocated to T3 data centres.
Assuming range values to test cases from 0 to 750. Each test case have range values of 50. Here only 15 test cases are assigned for execution.
Calculate performance analysis under test case up to 15 test cases. To calculate total execution time for each task. Let us consider T1, T2…T15 are tasks to be scheduled in cloud.
After allocating job to particular test case, then we need to allocate job to VMs by selecting shortest path using Ant algorithm. So, we calculating available resource table for knowing the machines power consumption, resource availability and memory availability.
From above table, the node id is given to ant system. And cost can be assigned between two nodes.
By comparing table 5 and table 6, we can take the maximum available memory in node 11231. And from above diagram assume nest is A and food D, calculating shortest path to reduce the job allocation time. Table 6 shows all available `paths from source to destination. From the distance calculation we found that path A-D direct connection will be a shortest path than other path.


The hybrid AB colony results can be compared with Max-Min algorithm, thus shows execution time and job allocation time are reduced.


Evaluation is to combine VMs with different resource characteristics appropriately so that the capacities of servers are well utilized. The system multiplexes virtual to physical resources adaptively based on the changing demand. This system achieves overload avoidance while the number of resources are increased, thus the resources utilization are balanced for systems with multi resource constraints using hybrid AB colony algorithm.

Tables at a glance

Table icon Table icon Table icon
Table 1 Table 2 Table 3
Table icon Table icon Table icon
Table 4 Table 5 Table 6

Figures at a glance

Figure 1 Figure 2 Figure 3 Figure 4
Figure 1 Figure 2 Figure 3 Figure 4