Package org.cloudbus.cloudsim.brokers
Provides
DatacenterBroker
classes that act on behalf of a cloud customer,
attending his/her requests for creation and destruction of
Cloudlets
and
VMs
, assigning such Cloudlets to specific VMs.
These brokers can implement decision making algorithms to prioritize submission of Cloudlets
to the cloud, to define how a VM is selected to run a given Cloudlets, etc.
The most basic implementation is the DatacenterBrokerSimple
that uses a Round-robin algorithm to select a VM from a list to place a submitted Cloudlet,
which is called a Cloudlet to VM mapping.
Other class such as the DatacenterBrokerHeuristic
allows setting a Heuristic
to find an sub-optimal
mapping.
- Author:
- Manoel Campos da Silva Filho
-
Interface Summary Interface Description DatacenterBroker Represents a broker acting on behalf of a cloud customer. -
Class Summary Class Description DatacenterBrokerAbstract An abstract class to be used as base for implementing aDatacenterBroker
.DatacenterBrokerBestFit A implementation ofDatacenterBroker
that uses a Best Fit mapping between submitted cloudlets and Vm's, trying to place a Cloudlet at the best suitable Vm which can be found (according to the required Cloudlet's PEs).DatacenterBrokerFirstFit A implementation ofDatacenterBroker
that uses a First Fit mapping between submitted cloudlets and Vm's, trying to place a Cloudlet at the first suitable Vm which can be found (according to the required Cloudlet's PEs).DatacenterBrokerHeuristic A simple implementation ofDatacenterBroker
that uses some heuristic to get a suboptimal mapping among submitted cloudlets and Vm's.DatacenterBrokerSimple A simple implementation ofDatacenterBroker
that try to host customer's VMs at the first Datacenter found.