Showing posts with label Task scheduling. Show all posts
Showing posts with label Task scheduling. Show all posts

Wednesday, December 11, 2013

FCFS Task Allocation in CloudSim

Hi All,
Today I'm going to write an Application in Java using CloudSim 3.0.3 Library, which simulates the Cloud and performs Tasks Allocation to the VMs on the basis of FCFS, First-Come-First-Served Scheduling Policy, in the Cloud. There are many ways to write this program. I'm writing in one of those ways. The Post is for all who know the basics of OOPs and Java Platform. Let's first see the architecture of CloudSim. It is shown below.

In CloudSim, UserCode forms the top layer, where the user creates specification and scheduling policies for the Cloud Environment. Below Diagram shows the Classes or Entities that form the CloudSim Library and their relationships.


Let's now see the sequence diagram of any Cloudsim Application.

 From all these diagrams, we must have understood the working of CloudSim Application. Finally, let's see the exact working style of Cloudsim Entities in the below diagram.