Research Article

Profit Optimization in SLA-Aware Cloud Services with a Finite Capacity Queuing Model

Algorithm 1

OPC algorithm.
Input Data:
(1) Arrival rate .
(2) Potential abandonment index and expected revenue [ ( , ), ( , )].
(3) Cost matrix [ , , , ].
(4) A given execution rate and a baseline rate .
(5) Loss probability threshold T.
(6) The upper bound parameters ( and ) for server
quantity and system capacity, respectively.
Output Data:
and and
Step  1. For ; = ; ++
    Set current server quantity;
Step  2. For ; ; ++
    Set current system capacity;
Step  3. Calculate , , , , and loss probability using
  (5)–(14) and (15), respectively.
Step  4. If loss probability <
     Then, record the current joint value of ( , ) and
       identify it as an approved test
       parameter;
    Else
      Return to Step 1 and begin to test next
     index of parameters;
  End
Step  5. When all test parameters have been done,
    current approved
    parameters;
    Bring all revenue and cost parameters into the
    developed profit function and test all current approved
    parameters
Step  6. If a joint value of ( , ) obtains the maximum
    profit value in all tests,
    Then
      Output ( , ) and F( , );
    Else
        Return to Step 5 and begin to test next index
        of the approved parameters.
  End