SlideShare una empresa de Scribd logo
1 de 5
Descargar para leer sin conexión
International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013

LOAD BALANCING USING ANT COLONY IN CLOUD
COMPUTING
Ranjan Kumar1 and G Sahoo2
1

Department of Computer Science & Engineering, C.I.T Tatisilwai, Ranchi, India
2
Department of Information Technology, B.I.T Mesra, Ranchi, India

ABSTRACT
Ants are very small insects.They are capable to find food even they are complete blind. The ants lives in
their nest and their job is to search food while they get hungry. We are not interested in their living style,
such as how they live, how they sleep. But we are interested in how they search for food, and how they find
the shortest path. The technique for finding the shortest path are now applying in cloud computing. The Ant
Colony approach towards Cloud Computing gives better performance.

KEYWORDS
Ant Colony, Cloud Computing, Pheromone, Web Servers, Job Schedulers.

1. INTRODUCTION
Cloud Computing is very hot topic in IT field. Many researches are going on Cloud Computing.
This is basically “on-demand” service. It means whenever we need for some applications or some
software, we demand for it and we immediately get it. We have to pay only that we use. This is
the main motto of cloud computing. Our desired application will present in our computer in few
moment. Cloud Computing has basically two parts, the First part is of Client Side and the second
part is of Server Side. The Client Side requests to the Servers and the Server responds to the
Clients. The request from the client firstly goes to the Master Processor of the Server Side. The
Master Processor are attached to many Slave Processors, the master processor sends that request
to any one of the Slave Processor which have free space. All Processors are busy in their assigned
job and non of the Processor get Idle. The process of assigning job from Master processor to the
Slave processor and after completion the job, then returning from the Slave processor to the
Master processor is just like Ant takes their food and return to their nest. The real ants left out
pheromone while travelling. A pheromone is a chemical used for communication. Now we are
moving from real ants to artificial ants. The artificial ants have some special characteristics which
is not found in real ants, such as they are not completely blind, they have some memory called
tabu. Now the artificial ants are used in cloud computing. The cloud computing is composed of
three service models, five essential characteristics, and four deployment models.
The three service models are as follows.
Software as a Service (SaaA).
Platform as a Service (PaaS).
Infrastructure as a Service (IaaS).
The five essential charactersistics are as follows.
DOI:10.5121/ijitcs.2013.3501

1
International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013

On-demand self service
Ubiquitous network access
Resource pooling
Rapid elasticity
Location independence
The four deployment models are as follows.
Private Cloud
Public Cloud
Community Cloud
Hybrid Cloud
Organization of this paper is as follows: Related work is discussed in section II. Proposed Ant
Colony is discussed in section III. Experimental setup is discussed in section IV. Result is
discussed in section V. And section VI gives conclusion.

2. RELATED WORK
Marco Dorigo and Luca Maria Gambardella [1] described about real and artificial ant. An
artificial ant colony, that was capable of solving Travelling Salesman Problem. Real ants are
capable of finding the shortest path from food source to the nest without using visual cues. Also,
they are capable of adapting to changes in the environment, for example finding a new shortest
path once the old one is no longer feasible due to a new obstacle. Zehua Zhang and Xuejie Zhang
[2] described about Load balancing mechanism based on Ant Colony. They described about the
function of Load balancing and how to distribute the workload in a cloud and to realize a high
ratio of user satisfication. They described the two characteristic of Complex Network and these
two characteristics are considered for the move of the ants in the work, since the ants move more
quickly towards that region where more resources found. They also described about Underload
and Overload of load balancing methods. Sarayut Nonsiri and Siriporn Supratid [3] discussed
about the ACO that allows fast near optimal solutions to be found. It is useful in industrial
environments where computational resources and time are limited. Patomporn Premprayoon and
Paramote Wardkein [4] discussed about the topological communication network design. They
discussed about the backbone network and the Local Area Network (LAN), they give the formula
of Total number of possible links in a single design. They discussed about the Reliability
calculation using backtracking algorithm for correctly calculate the system reliability. They also
discussed about the basic principle of ant colony and State Transition Rule in Ant Colony
Optimization technique and Global updating rule. Zenon Chaczko, Venkatesh Mahadevan,
Shahrzad Aslanzadeh and Christopher Mcdermid [7] discussed about the availability and load
balancing in cloud computing. They discussed about the static and dynamic algorithms and the
load balancing techniques to obtain measurable improvements in resource utilization and
availability of cloud computing environment.

3. PROPOSED ANT COLONY
Marco Dorigo, first introduced the Ant System (AS) in his Ph.D thesis in 1992. Now it is one of
the best optimization technique, which finds the shortest path. The deposition of pheromone and
the ant move is approximately at the same speed and at the same rate. And that pheromone
attracts another ants to move on same path. So, more ants move on same path have higher
concentration of pheromone and the evaporation rate is very low on shorter path, that’s why ants
chooses the shorter path.
2
International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013

The probability with which ant k currently at stage i choosing to go to stage j .
k
p ij ( t ) 

[ ij ( t )] [ ij ( t )]  [A p ]



l  J ik

[ ij ( t )] [ ij ( t )] 

Where,

 ij = Pheromone trail
 ij = Heuristic value
 = Parameter which determines the relative influence of the pheromone trail.

 = Parameter which determines the relative influence of the pheromone trail.
Ap = Amount of pheromone
The proposed Algorithm is defined as follow.
Step 1 : Randomly select a Job Schedular.
Step 2 : Job Schedular Schedules job to different web services.
While Job is not schedule to web services
Repeat steps 3 & 4.
Step 3: Job checks its surrounding area for availability of web services with
Probability,

k
p ij ( t ) 

[ ij ( t )] [ ij ( t )]  [A p ]



l  J ik

[ ij ( t )] [ ij ( t )] 

Step 4 : if
Web server is available
Then
Acquire web server
Else
Go to step 3
Step 5 : Return to the Job Schedular.
Step 6 : After completition kill the job.
Step 7 : End
3
International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013

The Web Services have some amount of load at any time, since non of the processor get idle. The
decision point makes ants to realize the Load of different Web Services.

4. EXPERIMENTAL SETUP
To evaluate the performance of Ant Colony, the results were simulated in Window 7 basic (64bit), i3 processor, 370 M processor, 2.40 GHz of speed with memory of 3 GB and language used
C++. There are 10 job sechedulers and 44 different web services. The job secheduler sechedules
the different jobs to the different web services. The number of ants in this simulation varies from
1 to 1000. These ants deposit some amount of pheromone in there move.

5. RESULT
We have experimented by taking different amount of number of ants. The amount of pheromone
varies between 0 to 1. The table I shows the number of ants and the amount of pheromone
deposited.
Table I

No. of Ants

Amount of Pheromone

Upto 10

0.01-0.10

Upto 20

0.10-0.15

Upto 30

0.15-0.17

Upto 50

0.17-0.19

Upto 90

0.20-0.30

Upto 100

0.35-0.45

Upto 200

0.50-0.65

Upto 300

0.65-0.75

Upto 600

0.75-0.85

Upto 1000

0.85-1.00

From the table I, we see that as the number of ants increases, the amount of pheromone also
increases, Since most of the ants uses the same path. The figure I shows the graph of Table I.

No. of Ants------>

1500

Ant Colony

1000
500
Ant Colony

0

Pheromone Trail-------->

Figure I. Ant Colony in respect of Ants & Pheromone Trail
4
International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013

3. C ONCLUSIONS
In this paper, we have proposed a method for load balancing. In which we emphasis on deposition
of pheromone. Here we see that when a node with minimum load is attracted by most of the ants
gives result to the maximum deposition of pheromone.

REFERENCES
[1]

Marco Dorigo, Luca Maria Gambardella “ Ant Colonies for the travelling Salesman Problem”,
TR/IRIDIA, Vol.3, University Libre de Bruxelles, Belgium, 1996.
[2] Zehua Zhang and Xuejie Zhang “A Load Balancing Mechanism Based on Ant Colony and Complex
Network Theory in Open Cloud Computing Federation”, International Conference on Industrial
Mechatronics and Automation, pp-240-243,2010.
[3] Sarayut Nonsiri and Siriporn Supratid “Modifying Ant Colony Optimization”, IEEE Conference on
Soft Computing in Industrial Application, Muroran, Japan. Pp. 95-100. 2008.
[4] Patomporn Premprayoon and Paramote Wardkein “Topological Communication Network Design
Using Ant Colony Optimization”, Department of telecommunication Engineering, King Mongkut’s
Institute of Technology Landkrabang Bankok, Thailand. Pp. 1147-1151.
[5] Kun Li, Gaochao Xu, Guangyu Zhao, Yushuang Dong and Dan Wang “Cloud Task scheduling based
on Load Balancing Ant Colony Optimization”, Jilin University, ChangChun, China, Sixth Annual
ChinaGrid Conference. pp. 03-09. 2011.
[6] Shu-Ching Wang, Kuo-Qin Yan, Wen-Pin Liao and Shun-Sheng Wang “ Towards a Load Balancing
in a Three-Level Cloud Computing Network”, Chaoyang University of Technology, Taiwan, R.O.C.
pp. 108-113. 2010.
[7] Zenon Chaczko, Venkatesh Mahadevan, Shahrzad Aslanzadeh and Christopher Mcdermid “
Availability and Load Balancing in Cloud Computing”, International Conference on Computer and
Software Modelling, IPCSIT, vol. 14, Singapore. pp. 134-140. 2011.
[8] Ratan Mishra and Anant Jaiswal “ Ant Colony Optimization: A Solution of Load balancing in Cloud”
International Journal of Web and Semantic Technology. Vol. 3, No. 2. pp. 33-50. April 2012.
[9] Kumar Nishant, Pratik Sharma, Vishal Krishna, Chhavi Gupta, Kuwar Pratap Singh, Nitin and Ravi
Rastogi “ Load Balancing of Nodes in Cloud Using Ant Colony Optimization”, Department of CSE
and ICT, Jaypee University of Information Technology, 14th International Conference on Modelling
and Simulation. pp.03-08. 2012.
[10] “Swarm Intelligence from Natural to Artificial System” by Marco Dorigo and Eric Bonabeau, 1999.
[11] “Cloud Computing and SOA Convergence in Your Enterprise” by David s. Linthicum, 2011.
[12] “Cloud Computing Web Based Application” by Michael Miller, 2012.

Authors
Ranjan Kumar received M.Tech degree in Computer Science from B.I.T Mesra, Ranchi.
He has one year teaching experience. His research interests include cloud computing,
Algorithm and compiler.

5

Más contenido relacionado

Similar a Load balancing using ant colony in cloud computing

Ant colony optimization based routing algorithm in various wireless sensor ne...
Ant colony optimization based routing algorithm in various wireless sensor ne...Ant colony optimization based routing algorithm in various wireless sensor ne...
Ant colony optimization based routing algorithm in various wireless sensor ne...Editor Jacotech
 
Communication in Swarm Robotics
Communication in Swarm RoboticsCommunication in Swarm Robotics
Communication in Swarm RoboticsAnuradhika Pilli
 
MHead - Self-Organized Flocking in Mobile Robot Swarms
MHead - Self-Organized Flocking in Mobile Robot SwarmsMHead - Self-Organized Flocking in Mobile Robot Swarms
MHead - Self-Organized Flocking in Mobile Robot SwarmsSamet Baykul
 
Cloud computing – partitioning algorithm
Cloud computing – partitioning algorithmCloud computing – partitioning algorithm
Cloud computing – partitioning algorithmijcseit
 
Path Navigation in ACO Using Mobile Robot
Path Navigation in ACO Using Mobile RobotPath Navigation in ACO Using Mobile Robot
Path Navigation in ACO Using Mobile Robotijtsrd
 
Proposing a New Job Scheduling Algorithm in Grid Environment Using a Combinat...
Proposing a New Job Scheduling Algorithm in Grid Environment Using a Combinat...Proposing a New Job Scheduling Algorithm in Grid Environment Using a Combinat...
Proposing a New Job Scheduling Algorithm in Grid Environment Using a Combinat...Editor IJCATR
 
The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...ijdms
 
TECHNICAL SEMINAR.pptx
TECHNICAL SEMINAR.pptxTECHNICAL SEMINAR.pptx
TECHNICAL SEMINAR.pptxPraveenMR13
 
IRJET - Swarm Robotics for Agriculture
IRJET - Swarm Robotics for AgricultureIRJET - Swarm Robotics for Agriculture
IRJET - Swarm Robotics for AgricultureIRJET Journal
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithmsprj_publication
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithmsprj_publication
 
IRJET- Hybrid Approach to Reduce Energy Utilization in Wireless Sensor Networ...
IRJET- Hybrid Approach to Reduce Energy Utilization in Wireless Sensor Networ...IRJET- Hybrid Approach to Reduce Energy Utilization in Wireless Sensor Networ...
IRJET- Hybrid Approach to Reduce Energy Utilization in Wireless Sensor Networ...IRJET Journal
 
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHMCLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHMijcseit
 
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHMCLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHMijcseit
 
Robot operating system based autonomous navigation platform with human robot ...
Robot operating system based autonomous navigation platform with human robot ...Robot operating system based autonomous navigation platform with human robot ...
Robot operating system based autonomous navigation platform with human robot ...TELKOMNIKA JOURNAL
 
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...eSAT Publishing House
 
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...eSAT Journals
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfnrusinhapadhi
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationJoy Dutta
 
AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...
AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...
AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...IJCNCJournal
 

Similar a Load balancing using ant colony in cloud computing (20)

Ant colony optimization based routing algorithm in various wireless sensor ne...
Ant colony optimization based routing algorithm in various wireless sensor ne...Ant colony optimization based routing algorithm in various wireless sensor ne...
Ant colony optimization based routing algorithm in various wireless sensor ne...
 
Communication in Swarm Robotics
Communication in Swarm RoboticsCommunication in Swarm Robotics
Communication in Swarm Robotics
 
MHead - Self-Organized Flocking in Mobile Robot Swarms
MHead - Self-Organized Flocking in Mobile Robot SwarmsMHead - Self-Organized Flocking in Mobile Robot Swarms
MHead - Self-Organized Flocking in Mobile Robot Swarms
 
Cloud computing – partitioning algorithm
Cloud computing – partitioning algorithmCloud computing – partitioning algorithm
Cloud computing – partitioning algorithm
 
Path Navigation in ACO Using Mobile Robot
Path Navigation in ACO Using Mobile RobotPath Navigation in ACO Using Mobile Robot
Path Navigation in ACO Using Mobile Robot
 
Proposing a New Job Scheduling Algorithm in Grid Environment Using a Combinat...
Proposing a New Job Scheduling Algorithm in Grid Environment Using a Combinat...Proposing a New Job Scheduling Algorithm in Grid Environment Using a Combinat...
Proposing a New Job Scheduling Algorithm in Grid Environment Using a Combinat...
 
The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...
 
TECHNICAL SEMINAR.pptx
TECHNICAL SEMINAR.pptxTECHNICAL SEMINAR.pptx
TECHNICAL SEMINAR.pptx
 
IRJET - Swarm Robotics for Agriculture
IRJET - Swarm Robotics for AgricultureIRJET - Swarm Robotics for Agriculture
IRJET - Swarm Robotics for Agriculture
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithms
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithms
 
IRJET- Hybrid Approach to Reduce Energy Utilization in Wireless Sensor Networ...
IRJET- Hybrid Approach to Reduce Energy Utilization in Wireless Sensor Networ...IRJET- Hybrid Approach to Reduce Energy Utilization in Wireless Sensor Networ...
IRJET- Hybrid Approach to Reduce Energy Utilization in Wireless Sensor Networ...
 
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHMCLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
 
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHMCLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
CLOUD COMPUTING – PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM
 
Robot operating system based autonomous navigation platform with human robot ...
Robot operating system based autonomous navigation platform with human robot ...Robot operating system based autonomous navigation platform with human robot ...
Robot operating system based autonomous navigation platform with human robot ...
 
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
 
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
Hybrid aco iwd optimization algorithm for minimizing weighted flowtime in clo...
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...
AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...
AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...
 

Último

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Último (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Load balancing using ant colony in cloud computing

  • 1. International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013 LOAD BALANCING USING ANT COLONY IN CLOUD COMPUTING Ranjan Kumar1 and G Sahoo2 1 Department of Computer Science & Engineering, C.I.T Tatisilwai, Ranchi, India 2 Department of Information Technology, B.I.T Mesra, Ranchi, India ABSTRACT Ants are very small insects.They are capable to find food even they are complete blind. The ants lives in their nest and their job is to search food while they get hungry. We are not interested in their living style, such as how they live, how they sleep. But we are interested in how they search for food, and how they find the shortest path. The technique for finding the shortest path are now applying in cloud computing. The Ant Colony approach towards Cloud Computing gives better performance. KEYWORDS Ant Colony, Cloud Computing, Pheromone, Web Servers, Job Schedulers. 1. INTRODUCTION Cloud Computing is very hot topic in IT field. Many researches are going on Cloud Computing. This is basically “on-demand” service. It means whenever we need for some applications or some software, we demand for it and we immediately get it. We have to pay only that we use. This is the main motto of cloud computing. Our desired application will present in our computer in few moment. Cloud Computing has basically two parts, the First part is of Client Side and the second part is of Server Side. The Client Side requests to the Servers and the Server responds to the Clients. The request from the client firstly goes to the Master Processor of the Server Side. The Master Processor are attached to many Slave Processors, the master processor sends that request to any one of the Slave Processor which have free space. All Processors are busy in their assigned job and non of the Processor get Idle. The process of assigning job from Master processor to the Slave processor and after completion the job, then returning from the Slave processor to the Master processor is just like Ant takes their food and return to their nest. The real ants left out pheromone while travelling. A pheromone is a chemical used for communication. Now we are moving from real ants to artificial ants. The artificial ants have some special characteristics which is not found in real ants, such as they are not completely blind, they have some memory called tabu. Now the artificial ants are used in cloud computing. The cloud computing is composed of three service models, five essential characteristics, and four deployment models. The three service models are as follows. Software as a Service (SaaA). Platform as a Service (PaaS). Infrastructure as a Service (IaaS). The five essential charactersistics are as follows. DOI:10.5121/ijitcs.2013.3501 1
  • 2. International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013 On-demand self service Ubiquitous network access Resource pooling Rapid elasticity Location independence The four deployment models are as follows. Private Cloud Public Cloud Community Cloud Hybrid Cloud Organization of this paper is as follows: Related work is discussed in section II. Proposed Ant Colony is discussed in section III. Experimental setup is discussed in section IV. Result is discussed in section V. And section VI gives conclusion. 2. RELATED WORK Marco Dorigo and Luca Maria Gambardella [1] described about real and artificial ant. An artificial ant colony, that was capable of solving Travelling Salesman Problem. Real ants are capable of finding the shortest path from food source to the nest without using visual cues. Also, they are capable of adapting to changes in the environment, for example finding a new shortest path once the old one is no longer feasible due to a new obstacle. Zehua Zhang and Xuejie Zhang [2] described about Load balancing mechanism based on Ant Colony. They described about the function of Load balancing and how to distribute the workload in a cloud and to realize a high ratio of user satisfication. They described the two characteristic of Complex Network and these two characteristics are considered for the move of the ants in the work, since the ants move more quickly towards that region where more resources found. They also described about Underload and Overload of load balancing methods. Sarayut Nonsiri and Siriporn Supratid [3] discussed about the ACO that allows fast near optimal solutions to be found. It is useful in industrial environments where computational resources and time are limited. Patomporn Premprayoon and Paramote Wardkein [4] discussed about the topological communication network design. They discussed about the backbone network and the Local Area Network (LAN), they give the formula of Total number of possible links in a single design. They discussed about the Reliability calculation using backtracking algorithm for correctly calculate the system reliability. They also discussed about the basic principle of ant colony and State Transition Rule in Ant Colony Optimization technique and Global updating rule. Zenon Chaczko, Venkatesh Mahadevan, Shahrzad Aslanzadeh and Christopher Mcdermid [7] discussed about the availability and load balancing in cloud computing. They discussed about the static and dynamic algorithms and the load balancing techniques to obtain measurable improvements in resource utilization and availability of cloud computing environment. 3. PROPOSED ANT COLONY Marco Dorigo, first introduced the Ant System (AS) in his Ph.D thesis in 1992. Now it is one of the best optimization technique, which finds the shortest path. The deposition of pheromone and the ant move is approximately at the same speed and at the same rate. And that pheromone attracts another ants to move on same path. So, more ants move on same path have higher concentration of pheromone and the evaporation rate is very low on shorter path, that’s why ants chooses the shorter path. 2
  • 3. International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013 The probability with which ant k currently at stage i choosing to go to stage j . k p ij ( t )  [ ij ( t )] [ ij ( t )]  [A p ]  l  J ik [ ij ( t )] [ ij ( t )]  Where,  ij = Pheromone trail  ij = Heuristic value  = Parameter which determines the relative influence of the pheromone trail.  = Parameter which determines the relative influence of the pheromone trail. Ap = Amount of pheromone The proposed Algorithm is defined as follow. Step 1 : Randomly select a Job Schedular. Step 2 : Job Schedular Schedules job to different web services. While Job is not schedule to web services Repeat steps 3 & 4. Step 3: Job checks its surrounding area for availability of web services with Probability, k p ij ( t )  [ ij ( t )] [ ij ( t )]  [A p ]  l  J ik [ ij ( t )] [ ij ( t )]  Step 4 : if Web server is available Then Acquire web server Else Go to step 3 Step 5 : Return to the Job Schedular. Step 6 : After completition kill the job. Step 7 : End 3
  • 4. International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013 The Web Services have some amount of load at any time, since non of the processor get idle. The decision point makes ants to realize the Load of different Web Services. 4. EXPERIMENTAL SETUP To evaluate the performance of Ant Colony, the results were simulated in Window 7 basic (64bit), i3 processor, 370 M processor, 2.40 GHz of speed with memory of 3 GB and language used C++. There are 10 job sechedulers and 44 different web services. The job secheduler sechedules the different jobs to the different web services. The number of ants in this simulation varies from 1 to 1000. These ants deposit some amount of pheromone in there move. 5. RESULT We have experimented by taking different amount of number of ants. The amount of pheromone varies between 0 to 1. The table I shows the number of ants and the amount of pheromone deposited. Table I No. of Ants Amount of Pheromone Upto 10 0.01-0.10 Upto 20 0.10-0.15 Upto 30 0.15-0.17 Upto 50 0.17-0.19 Upto 90 0.20-0.30 Upto 100 0.35-0.45 Upto 200 0.50-0.65 Upto 300 0.65-0.75 Upto 600 0.75-0.85 Upto 1000 0.85-1.00 From the table I, we see that as the number of ants increases, the amount of pheromone also increases, Since most of the ants uses the same path. The figure I shows the graph of Table I. No. of Ants------> 1500 Ant Colony 1000 500 Ant Colony 0 Pheromone Trail--------> Figure I. Ant Colony in respect of Ants & Pheromone Trail 4
  • 5. International Journal of Information Technology Convergence and Services (IJITCS) Vol.3, No.5, October 2013 3. C ONCLUSIONS In this paper, we have proposed a method for load balancing. In which we emphasis on deposition of pheromone. Here we see that when a node with minimum load is attracted by most of the ants gives result to the maximum deposition of pheromone. REFERENCES [1] Marco Dorigo, Luca Maria Gambardella “ Ant Colonies for the travelling Salesman Problem”, TR/IRIDIA, Vol.3, University Libre de Bruxelles, Belgium, 1996. [2] Zehua Zhang and Xuejie Zhang “A Load Balancing Mechanism Based on Ant Colony and Complex Network Theory in Open Cloud Computing Federation”, International Conference on Industrial Mechatronics and Automation, pp-240-243,2010. [3] Sarayut Nonsiri and Siriporn Supratid “Modifying Ant Colony Optimization”, IEEE Conference on Soft Computing in Industrial Application, Muroran, Japan. Pp. 95-100. 2008. [4] Patomporn Premprayoon and Paramote Wardkein “Topological Communication Network Design Using Ant Colony Optimization”, Department of telecommunication Engineering, King Mongkut’s Institute of Technology Landkrabang Bankok, Thailand. Pp. 1147-1151. [5] Kun Li, Gaochao Xu, Guangyu Zhao, Yushuang Dong and Dan Wang “Cloud Task scheduling based on Load Balancing Ant Colony Optimization”, Jilin University, ChangChun, China, Sixth Annual ChinaGrid Conference. pp. 03-09. 2011. [6] Shu-Ching Wang, Kuo-Qin Yan, Wen-Pin Liao and Shun-Sheng Wang “ Towards a Load Balancing in a Three-Level Cloud Computing Network”, Chaoyang University of Technology, Taiwan, R.O.C. pp. 108-113. 2010. [7] Zenon Chaczko, Venkatesh Mahadevan, Shahrzad Aslanzadeh and Christopher Mcdermid “ Availability and Load Balancing in Cloud Computing”, International Conference on Computer and Software Modelling, IPCSIT, vol. 14, Singapore. pp. 134-140. 2011. [8] Ratan Mishra and Anant Jaiswal “ Ant Colony Optimization: A Solution of Load balancing in Cloud” International Journal of Web and Semantic Technology. Vol. 3, No. 2. pp. 33-50. April 2012. [9] Kumar Nishant, Pratik Sharma, Vishal Krishna, Chhavi Gupta, Kuwar Pratap Singh, Nitin and Ravi Rastogi “ Load Balancing of Nodes in Cloud Using Ant Colony Optimization”, Department of CSE and ICT, Jaypee University of Information Technology, 14th International Conference on Modelling and Simulation. pp.03-08. 2012. [10] “Swarm Intelligence from Natural to Artificial System” by Marco Dorigo and Eric Bonabeau, 1999. [11] “Cloud Computing and SOA Convergence in Your Enterprise” by David s. Linthicum, 2011. [12] “Cloud Computing Web Based Application” by Michael Miller, 2012. Authors Ranjan Kumar received M.Tech degree in Computer Science from B.I.T Mesra, Ranchi. He has one year teaching experience. His research interests include cloud computing, Algorithm and compiler. 5