SlideShare a Scribd company logo
1 of 17
Download to read offline
Proposed Pricing Model for Cloud
Computing
Muhammad Adeel Javaid
Member Vendor Advisory Council, CompTIA

ABSTRACT

Cloud computing is an emerging technology of business computing and it is
becoming a development trend. The process of entering into the cloud is generally in the
form of queue, so that each user needs to wait until the current user is being served. In
the system, each Cloud Computing User (CCU) requests Cloud Computing Service
Provider (CCSP) to use the resources, if CCU(cloud computing user) finds that the
server is busy then the user has to wait till the current user completes the job which leads
to more queue length and increased waiting time. So to solve this problem, it is the work
of CCSP’s to provide service to users with less waiting time otherwise there is a chance
that the user might be leaving from queue. CCSP’s can use multiple servers for reducing
queue length and waiting time. In this paper, we have shown how the multiple servers
can reduce the mean queue length and waiting time. Our approach is to treat a
multiserver system as an M/M/m queuing model, such that a profit maximization model
could be worked out.

Keywords: Cloud Pricing, Cloud Pricing Model, Cloud Multi-Server Model
.
Scope :
Two server speed and power consumption models are considered, namely,
the idle-speed model and the constant-speed model. The probability density
function of the waiting time of a newly arrived service request is derived. The
expected service charge to a service request is calculated. To the best of our
knowledge, there has been no similar investigation in the literature, although the
method of optimal multicore server processor configuration has been employed for
other purposes, such as managing the power and performance tradeoff.

Existing System
To increase the revenue of business, a service provider can construct and
configure a multiserver system with many servers of high speed. Since the actual
service time (i.e., the task response time) contains task waiting time and task
execution time so more servers reduce the waiting time and faster servers reduce
both waiting time and execution time.

Problems on existing system:
1. In single Sever System if doing one job another process waiting for another
completion of server service, So it take time to late (See Figure-1).
2. Due to increase the Service cost of cloud.
Figure-1: Single Server Queuing System

Proposed System
We study the problem of optimal multiserver configuration for profit
maximization in a cloud computing environment. Our approach is to treat a
multiserver system as an M/M/m queuing model, such that our optimization
problem can be formulated and solved analytically (See Figure-2).

Figure-2 M/M/m Queuing System
Figure 3 and 4 below explain the basic queuing system design and examples
of the negative exponential distribution for service times. The estimate of average
service time for different customers and utilization of system could be easily
worked out by the formulas given below.

Figure-3 Basic Queuing System Designs
Figure-4 Two Examples of the Negative Exponential Distribution for Service Times
By using the following formula the utilization of system and waiting time spent in
the queue by customer could be easily worked out.
Where the notation of the above formula is as given below:
The average number of customers in a queue is given by:
To get (*) we can denote

and differentiate the geometric series:

We can even rewrite the last expression using Erlang’s second formula:

The average number of customers in the system is the sum:

The average number of customers in the service facilities for an M/M/m system is
given by:

Fundamental Measures of Cost
Each of the following fundamental quantities represents a way to measure the
“cost” of queuing in the long run. Their interrelationship will be spelled out later
on.
LQ = Average queue length (not including customers that are being served)
L = Average population
= Average number of customers in the system
// LQ and L are time-averages, i.e.,
// averages over all nanoseconds until .
WQ = Average queuing time of a customer
W = Average delay of a customer
// WQ and W are averages over customers
= WQ + 1/

// Delay = queuing + a service time

// 1/ = mean service time in the formula W = WQ + 1/.
// Later when  sometimes stands for ave. output rate,
// then W = WQ + 1/ is only for a single-server system.

We now establish two more relations among these four measures of cost so that
any of them determines all others:

L

Little’s Formula 1: L = W

W
W = WQ + 1/
(1/ = mean service)

LQ

Little’s Formula 2: LQ = WQ

WQ

Little’s Formula 1. L = W for all stationary queuing models.
// All stationary models regardless of the arrival process, service// time distribution, number of servers, and queuing discipline
Proof. Think of a measure of the cost as money that customers pay to the
system. In this proof, let each customer in the system pay to the system at the rate
of $1 per unit time.
L = Time-average “rate” at which the system earns
// Unit of this “rate” = $/unit time
=   Average payment per customer when in the system
// Unit of this amount = $/person
// time-ave  ave over customers
= W

// Unit = (person/unit time)*($/person) = $/unit time

Little’s Formula 2. LQ = WQ for all stationary queuing models.

Proof. Let each customer in queue pay $1 per unit time to the system.
LQ = Time-average “rate” at which the system earns
=   Average amount a customer pays in queue
= WQ

In conclusion,

L

L = W

W

 L = LQ + /

W = WQ + 1/

(1/ = mean service)

(1/ = mean service)

LQ

LQ = WQ

WQ
Now we can calculate the expected service charge to a service request. Based on
these results, we get the expected net business gain in given unit of time.

Mechanisms:
Multiple sporadic servers as a mechanism for rescheduling aperiodic tasks
are applicable to today's computer environments. A developed simulation tool
enables evaluation of its performance for various task sets and server parameters
(See Figure-5 below). By increasing the number of servers, aperiodic task response
time is reduced; system utilization and the number of reschedulings are increased
whereas periodic task execution is disrupted insignificantly. Proper selection of
server parameters improves task response time, and decreases the number of
unnecessary reschedulings. Simulation results prove model correctness and
simulation accuracy. The simulator is applicable to developing rescheduling
algorithms and their implementation into real environments.

Simulation Code:
The following source code will provide you a tool to perform simulation in an
M/M/m environment with finite number of customers.
#include <stdio.h>
#include <stdlib.h> // Needed for rand() and RAND_MAX
#include <math.h> // Needed for log()
#include <iostream.h>
//----- Constants ------------------------------------------------------------#define SIM_TIME 1.0e7 // Simulation time
//----- Function prototypes ---------------------------------------------------
double expntl(double x); // Generate exponential RV with mean x
double general();
/********************** Main program******************************/
void main(void)
{
for(int i=1;i<=49;i++)
{
double end_time = SIM_TIME; // Total time to simulate
double Ta ; // Mean time between arrivals
double Ts = 2.0; // Mean service time
int m=2; //no of servers
double time = 0.0; // Simulation time
double t1 = 0.0; // Time for next event #1 (arrival)
double t2 = SIM_TIME; // Time for next event #2 (departure)
long int n = 0; // Number of customers in the system
long int k=8; //buffer space
float p;
double c = 0.0; // Number of service completions
double s = 0.0; // Area of number of customers in system
double tn = time; // Variable for "last event time"
double x; // Throughput
double l; // Mean number in the system
double w; // Mean residence time
p=0.02*i; Ta=Ts/(m*p);
// Main simulation loop
while (time < end_time)
{
if (t1 < t2) // *** Event #1 (arrival)
{
time = t1;
s = s + n * (time - tn); // Update area under "s" curve
if(n<k) n++;
tn = time; // tn = "last event time" for next event
t1 = time + expntl(Ta);
if (n == 1)
t2 = time + expntl(Ts);
}
else // *** Event #2 (departure)
{
time = t2;
s = s + n * (time - tn); // Update area under "s" curve
if(n>m)
n-=m; else n=0;
tn = time; // tn = "last event time" for next event
c++; // Increment number of completions
if (n > 0)
t2 = time + expntl(Ts);
else
t2 = end_time;
}
}
x = c / time; // Compute throughput rate
l = s / time; // Compute mean number in system
w = l / x; // Compute mean residence or system time
if(l>0)
cout<<p<<"t"<<l<<endl;
}

}
/******************************************************************
******
Function to generate exponentially distributed RVs
Input: x (mean value of distribution)
Output: Returns with exponential RV
******************************************************************
*******/
double expntl(double x)
{
double z; // Uniform random number from 0 to 1

// Pull a uniform RV (0 < z < 1)
do
{
z = ((double) rand() / RAND_MAX);
}
while ((z == 0) || (z == 1));
return(-x * log(z));
}

Figure-5 Simulation Result Obtained
IMPLEMENTATION
Implementation is the stage of the project when the theoretical design is
turned out into a working system. Thus it can be considered to be the most
critical stage in achieving a successful new system and in giving the user,
confidence that the new system will work and be effective (See Figure-6).

The implementation stage involves careful planning, investigation of the
existing system and it’s constraints on implementation, designing of methods to
achieve changeover and evaluation of changeover methods.

Figure-6 Components of a Queuing System

CONCLUSION
This paper proposes a novel pricing demand scheme designed for a cloud
based environment that offers querying services and aims at the maximization of
the cloud profit with predictive demand price solution on economic way of user
profit. The proposed solution allows: on one hand, long-term profit maximization
with price minimization on request of same demand, and, on the other, dynamic
calibration to the actual behavior of the cloud application.

REFERENCES
 M. Armbrust, et al., “Above the clouds: a Berkeley view of cloud
computing,” Technical Report No. UCB/EECS-2009-28, February 2009
 R. Buyya, D. Abramson, J. Giddy, and H. Stockinger, “Eco- nomic models
for resource management and scheduling in grid computing,” Concurrency
and Computation: Practice and Experience, vol. 14, pp. 1507-1542, 2007.
 R. Buyya, C. S. Yeo, S. Venugopal, J. Broberg, and I. Brandic, “Cloud
computing and emerging IT platforms: vision, hype, and reality for
delivering computing as the 5th utility,” Future Generation Computer
Systems, vol. 25, no. 6, pp. 599-616, 2009.
 P. Chandrakasan, S. Sheng, and R. W. Brodersen, “Low- power CMOS
digital design,” IEEE Journal on Solid-State Cir- cuits, vol. 27, no. 4, pp.
473-484, 1992.
 N. Chun and D. E. Culler, “User-centric performance analy- sis of marketbased cluster batch schedulers,” Proceedings of the 2nd IEEE/ACM
International Symposium on Cluster Computing and the Grid, 2002.
 Durkee, “Why cloud computing will never be free,” Com- munications of
the ACM, vol. 53, no. 5, pp. 62-69, 2010.
 K. Hwang, G. C. Fox, and J. J. Dongarra, Distributed and Cloud Computing,
Morgan Kaufmann, 2012.
 Intel, Enhanced Intel SpeedStep Technology for the Intel Pentium M
Processor – White Paper, March 2004.
 P. Mell and T. Grance, “The NIST definition of cloud comput- ing,”
National Institute of Standards and Technology, 2009.

More Related Content

What's hot

Queuing model
Queuing model Queuing model
Queuing model goyalrama
 
All-Reduce and Prefix-Sum Operations
All-Reduce and Prefix-Sum Operations All-Reduce and Prefix-Sum Operations
All-Reduce and Prefix-Sum Operations Syed Zaid Irshad
 
Chapter - 04 Basic Communication Operation
Chapter - 04 Basic Communication OperationChapter - 04 Basic Communication Operation
Chapter - 04 Basic Communication OperationNifras Ismail
 
Scheduling and Resource allocation in 802.11ax (WIFI 6)
Scheduling and Resource allocation in 802.11ax (WIFI 6)Scheduling and Resource allocation in 802.11ax (WIFI 6)
Scheduling and Resource allocation in 802.11ax (WIFI 6)RESHAN FARAZ
 
Priority based K-Erlang Distribution Method in Cloud Computing
Priority based K-Erlang Distribution Method in Cloud ComputingPriority based K-Erlang Distribution Method in Cloud Computing
Priority based K-Erlang Distribution Method in Cloud Computingidescitation
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)snket
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)snket
 
Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Alexander Decker
 
Optimization of Collective Communication in MPICH
Optimization of Collective Communication in MPICH Optimization of Collective Communication in MPICH
Optimization of Collective Communication in MPICH Lino Possamai
 

What's hot (20)

Queue
QueueQueue
Queue
 
Ijetr021226
Ijetr021226Ijetr021226
Ijetr021226
 
Chap11 slides
Chap11 slidesChap11 slides
Chap11 slides
 
Queuing model
Queuing model Queuing model
Queuing model
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
All-Reduce and Prefix-Sum Operations
All-Reduce and Prefix-Sum Operations All-Reduce and Prefix-Sum Operations
All-Reduce and Prefix-Sum Operations
 
14 queuing
14 queuing14 queuing
14 queuing
 
Chapter - 04 Basic Communication Operation
Chapter - 04 Basic Communication OperationChapter - 04 Basic Communication Operation
Chapter - 04 Basic Communication Operation
 
Scheduling and Resource allocation in 802.11ax (WIFI 6)
Scheduling and Resource allocation in 802.11ax (WIFI 6)Scheduling and Resource allocation in 802.11ax (WIFI 6)
Scheduling and Resource allocation in 802.11ax (WIFI 6)
 
Priority based K-Erlang Distribution Method in Cloud Computing
Priority based K-Erlang Distribution Method in Cloud ComputingPriority based K-Erlang Distribution Method in Cloud Computing
Priority based K-Erlang Distribution Method in Cloud Computing
 
Solution(1)
Solution(1)Solution(1)
Solution(1)
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Queuing analysis
Queuing analysisQueuing analysis
Queuing analysis
 
Chap6 slides
Chap6 slidesChap6 slides
Chap6 slides
 
Chap4 slides
Chap4 slidesChap4 slides
Chap4 slides
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...
 
Optimization of Collective Communication in MPICH
Optimization of Collective Communication in MPICH Optimization of Collective Communication in MPICH
Optimization of Collective Communication in MPICH
 
M017419499
M017419499M017419499
M017419499
 

Viewers also liked

Dynamic Cloud Pricing for Revenue Maximization
Dynamic Cloud Pricing for Revenue MaximizationDynamic Cloud Pricing for Revenue Maximization
Dynamic Cloud Pricing for Revenue MaximizationPapitha Velumani
 
New Models for Dynamic Pricing and Products - Séverine Lago
New Models for Dynamic Pricing and Products - Séverine LagoNew Models for Dynamic Pricing and Products - Séverine Lago
New Models for Dynamic Pricing and Products - Séverine Lagoinma outlook 2009
 
Dynamic Pricing: Past, Present, and Future
Dynamic Pricing: Past, Present, and FutureDynamic Pricing: Past, Present, and Future
Dynamic Pricing: Past, Present, and FutureJeffrey Funk
 

Viewers also liked (6)

Dynamic Cloud Pricing for Revenue Maximization
Dynamic Cloud Pricing for Revenue MaximizationDynamic Cloud Pricing for Revenue Maximization
Dynamic Cloud Pricing for Revenue Maximization
 
New Models for Dynamic Pricing and Products - Séverine Lago
New Models for Dynamic Pricing and Products - Séverine LagoNew Models for Dynamic Pricing and Products - Séverine Lago
New Models for Dynamic Pricing and Products - Séverine Lago
 
Dynamic pricing
Dynamic pricingDynamic pricing
Dynamic pricing
 
Heizer mod d
Heizer mod dHeizer mod d
Heizer mod d
 
Dynamic Pricing: Past, Present, and Future
Dynamic Pricing: Past, Present, and FutureDynamic Pricing: Past, Present, and Future
Dynamic Pricing: Past, Present, and Future
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 

Similar to Proposed pricing model for cloud computing

Router Queue Simulation in C++ in MMNN and MM1 conditions
Router Queue Simulation in C++ in MMNN and MM1 conditionsRouter Queue Simulation in C++ in MMNN and MM1 conditions
Router Queue Simulation in C++ in MMNN and MM1 conditionsMorteza Mahdilar
 
An Algorithm for Optimized Cost in a Distributed Computing System
An Algorithm for Optimized Cost in a Distributed Computing SystemAn Algorithm for Optimized Cost in a Distributed Computing System
An Algorithm for Optimized Cost in a Distributed Computing SystemIRJET Journal
 
Georgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
Georgia Tech: Performance Engineering - Queuing Theory and Predictive ModelingGeorgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
Georgia Tech: Performance Engineering - Queuing Theory and Predictive ModelingBrian Wilson
 
Enhancing the NS-2 Traffic Generator for the MANETs
Enhancing the NS-2 Traffic Generator for the MANETsEnhancing the NS-2 Traffic Generator for the MANETs
Enhancing the NS-2 Traffic Generator for the MANETsIOSR Journals
 
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...ijceronline
 
High virtualizationdegree
High virtualizationdegreeHigh virtualizationdegree
High virtualizationdegreesscetrajiv
 
Azure Service Bus Performance Checklist
Azure Service Bus Performance ChecklistAzure Service Bus Performance Checklist
Azure Service Bus Performance ChecklistSalim M Bhonhariya
 
Optimal multiserver configuration for profit maximization in cloud computing
Optimal multiserver configuration for profit maximization in cloud computingOptimal multiserver configuration for profit maximization in cloud computing
Optimal multiserver configuration for profit maximization in cloud computingJPINFOTECH JAYAPRAKASH
 
Cost-Based Task Scheduling in Cloud Computing
Cost-Based Task Scheduling in Cloud ComputingCost-Based Task Scheduling in Cloud Computing
Cost-Based Task Scheduling in Cloud ComputingIRJET Journal
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...ijgca
 
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...ijgca
 
Optimal multiserver configuration for profit
Optimal multiserver configuration for profitOptimal multiserver configuration for profit
Optimal multiserver configuration for profitIMPULSE_TECHNOLOGY
 
Iwsm2014 performance measurement for cloud computing applications using iso...
Iwsm2014   performance measurement for cloud computing applications using iso...Iwsm2014   performance measurement for cloud computing applications using iso...
Iwsm2014 performance measurement for cloud computing applications using iso...Nesma
 
Performance comparison of row per slave and rows set per slave method in pvm ...
Performance comparison of row per slave and rows set per slave method in pvm ...Performance comparison of row per slave and rows set per slave method in pvm ...
Performance comparison of row per slave and rows set per slave method in pvm ...eSAT Journals
 

Similar to Proposed pricing model for cloud computing (20)

Router Queue Simulation in C++ in MMNN and MM1 conditions
Router Queue Simulation in C++ in MMNN and MM1 conditionsRouter Queue Simulation in C++ in MMNN and MM1 conditions
Router Queue Simulation in C++ in MMNN and MM1 conditions
 
An Algorithm for Optimized Cost in a Distributed Computing System
An Algorithm for Optimized Cost in a Distributed Computing SystemAn Algorithm for Optimized Cost in a Distributed Computing System
An Algorithm for Optimized Cost in a Distributed Computing System
 
Georgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
Georgia Tech: Performance Engineering - Queuing Theory and Predictive ModelingGeorgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
Georgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
 
Unit 3 des
Unit 3 desUnit 3 des
Unit 3 des
 
Enhancing the NS-2 Traffic Generator for the MANETs
Enhancing the NS-2 Traffic Generator for the MANETsEnhancing the NS-2 Traffic Generator for the MANETs
Enhancing the NS-2 Traffic Generator for the MANETs
 
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
 
High virtualizationdegree
High virtualizationdegreeHigh virtualizationdegree
High virtualizationdegree
 
DES
DES DES
DES
 
Azure Service Bus Performance Checklist
Azure Service Bus Performance ChecklistAzure Service Bus Performance Checklist
Azure Service Bus Performance Checklist
 
Green scheduling
Green schedulingGreen scheduling
Green scheduling
 
Linux capacity planning
Linux capacity planningLinux capacity planning
Linux capacity planning
 
cscn1819.pdf
cscn1819.pdfcscn1819.pdf
cscn1819.pdf
 
Optimal multiserver configuration for profit maximization in cloud computing
Optimal multiserver configuration for profit maximization in cloud computingOptimal multiserver configuration for profit maximization in cloud computing
Optimal multiserver configuration for profit maximization in cloud computing
 
Cost-Based Task Scheduling in Cloud Computing
Cost-Based Task Scheduling in Cloud ComputingCost-Based Task Scheduling in Cloud Computing
Cost-Based Task Scheduling in Cloud Computing
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
 
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
PERFORMANCE FACTORS OF CLOUD COMPUTING DATA CENTERS USING [(M/G/1) : (∞/GDMOD...
 
Optimal multiserver configuration for profit
Optimal multiserver configuration for profitOptimal multiserver configuration for profit
Optimal multiserver configuration for profit
 
Iwsm2014 performance measurement for cloud computing applications using iso...
Iwsm2014   performance measurement for cloud computing applications using iso...Iwsm2014   performance measurement for cloud computing applications using iso...
Iwsm2014 performance measurement for cloud computing applications using iso...
 
Performance comparison of row per slave and rows set per slave method in pvm ...
Performance comparison of row per slave and rows set per slave method in pvm ...Performance comparison of row per slave and rows set per slave method in pvm ...
Performance comparison of row per slave and rows set per slave method in pvm ...
 

More from Adeel Javaid

Cybersecurity threat assessment manual
Cybersecurity threat assessment manualCybersecurity threat assessment manual
Cybersecurity threat assessment manualAdeel Javaid
 
Hacking web applications
Hacking web applicationsHacking web applications
Hacking web applicationsAdeel Javaid
 
Electronic voting system security
Electronic voting system securityElectronic voting system security
Electronic voting system securityAdeel Javaid
 
Cloud computing security and privacy
Cloud computing security and privacyCloud computing security and privacy
Cloud computing security and privacyAdeel Javaid
 
Wireless sensor networks software architecture
Wireless sensor networks software architectureWireless sensor networks software architecture
Wireless sensor networks software architectureAdeel Javaid
 
How hackers attack networks
How hackers attack networksHow hackers attack networks
How hackers attack networksAdeel Javaid
 
How To Get a Good Job in Academia
How To Get a Good Job in AcademiaHow To Get a Good Job in Academia
How To Get a Good Job in AcademiaAdeel Javaid
 
Secrets of success
Secrets of successSecrets of success
Secrets of successAdeel Javaid
 
Smartphone healthcare
Smartphone healthcareSmartphone healthcare
Smartphone healthcareAdeel Javaid
 
Share point presentation
Share point presentationShare point presentation
Share point presentationAdeel Javaid
 
Project management
Project managementProject management
Project managementAdeel Javaid
 
Business continuity and disaster recovery
Business continuity and disaster recoveryBusiness continuity and disaster recovery
Business continuity and disaster recoveryAdeel Javaid
 
Inside the entreprenurial mind
Inside the entreprenurial mindInside the entreprenurial mind
Inside the entreprenurial mindAdeel Javaid
 
Cloud architecture
Cloud architectureCloud architecture
Cloud architectureAdeel Javaid
 
Template for marketing strategy
Template for marketing strategyTemplate for marketing strategy
Template for marketing strategyAdeel Javaid
 
The toyota production system
The toyota production systemThe toyota production system
The toyota production systemAdeel Javaid
 
Tps and lean manufacturing
Tps and lean manufacturingTps and lean manufacturing
Tps and lean manufacturingAdeel Javaid
 

More from Adeel Javaid (20)

Cybersecurity threat assessment manual
Cybersecurity threat assessment manualCybersecurity threat assessment manual
Cybersecurity threat assessment manual
 
Hacking web applications
Hacking web applicationsHacking web applications
Hacking web applications
 
Electronic voting system security
Electronic voting system securityElectronic voting system security
Electronic voting system security
 
Cloud computing security and privacy
Cloud computing security and privacyCloud computing security and privacy
Cloud computing security and privacy
 
Wireless sensor networks software architecture
Wireless sensor networks software architectureWireless sensor networks software architecture
Wireless sensor networks software architecture
 
How hackers attack networks
How hackers attack networksHow hackers attack networks
How hackers attack networks
 
What is ph d
What is ph dWhat is ph d
What is ph d
 
How To Get a Good Job in Academia
How To Get a Good Job in AcademiaHow To Get a Good Job in Academia
How To Get a Good Job in Academia
 
Secrets of success
Secrets of successSecrets of success
Secrets of success
 
Smartphone healthcare
Smartphone healthcareSmartphone healthcare
Smartphone healthcare
 
Share point presentation
Share point presentationShare point presentation
Share point presentation
 
Project management
Project managementProject management
Project management
 
Business continuity and disaster recovery
Business continuity and disaster recoveryBusiness continuity and disaster recovery
Business continuity and disaster recovery
 
Inside the entreprenurial mind
Inside the entreprenurial mindInside the entreprenurial mind
Inside the entreprenurial mind
 
Cloud architecture
Cloud architectureCloud architecture
Cloud architecture
 
Template for marketing strategy
Template for marketing strategyTemplate for marketing strategy
Template for marketing strategy
 
The toyota production system
The toyota production systemThe toyota production system
The toyota production system
 
Channel marketing
Channel marketingChannel marketing
Channel marketing
 
Tps and lean manufacturing
Tps and lean manufacturingTps and lean manufacturing
Tps and lean manufacturing
 
Cloud security
Cloud securityCloud security
Cloud security
 

Recently uploaded

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
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
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 

Recently uploaded (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
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
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 

Proposed pricing model for cloud computing

  • 1. Proposed Pricing Model for Cloud Computing Muhammad Adeel Javaid Member Vendor Advisory Council, CompTIA ABSTRACT Cloud computing is an emerging technology of business computing and it is becoming a development trend. The process of entering into the cloud is generally in the form of queue, so that each user needs to wait until the current user is being served. In the system, each Cloud Computing User (CCU) requests Cloud Computing Service Provider (CCSP) to use the resources, if CCU(cloud computing user) finds that the server is busy then the user has to wait till the current user completes the job which leads to more queue length and increased waiting time. So to solve this problem, it is the work of CCSP’s to provide service to users with less waiting time otherwise there is a chance that the user might be leaving from queue. CCSP’s can use multiple servers for reducing queue length and waiting time. In this paper, we have shown how the multiple servers can reduce the mean queue length and waiting time. Our approach is to treat a multiserver system as an M/M/m queuing model, such that a profit maximization model could be worked out. Keywords: Cloud Pricing, Cloud Pricing Model, Cloud Multi-Server Model .
  • 2. Scope : Two server speed and power consumption models are considered, namely, the idle-speed model and the constant-speed model. The probability density function of the waiting time of a newly arrived service request is derived. The expected service charge to a service request is calculated. To the best of our knowledge, there has been no similar investigation in the literature, although the method of optimal multicore server processor configuration has been employed for other purposes, such as managing the power and performance tradeoff. Existing System To increase the revenue of business, a service provider can construct and configure a multiserver system with many servers of high speed. Since the actual service time (i.e., the task response time) contains task waiting time and task execution time so more servers reduce the waiting time and faster servers reduce both waiting time and execution time. Problems on existing system: 1. In single Sever System if doing one job another process waiting for another completion of server service, So it take time to late (See Figure-1). 2. Due to increase the Service cost of cloud.
  • 3. Figure-1: Single Server Queuing System Proposed System We study the problem of optimal multiserver configuration for profit maximization in a cloud computing environment. Our approach is to treat a multiserver system as an M/M/m queuing model, such that our optimization problem can be formulated and solved analytically (See Figure-2). Figure-2 M/M/m Queuing System
  • 4. Figure 3 and 4 below explain the basic queuing system design and examples of the negative exponential distribution for service times. The estimate of average service time for different customers and utilization of system could be easily worked out by the formulas given below. Figure-3 Basic Queuing System Designs
  • 5. Figure-4 Two Examples of the Negative Exponential Distribution for Service Times By using the following formula the utilization of system and waiting time spent in the queue by customer could be easily worked out.
  • 6. Where the notation of the above formula is as given below:
  • 7. The average number of customers in a queue is given by:
  • 8. To get (*) we can denote and differentiate the geometric series: We can even rewrite the last expression using Erlang’s second formula: The average number of customers in the system is the sum: The average number of customers in the service facilities for an M/M/m system is given by: Fundamental Measures of Cost Each of the following fundamental quantities represents a way to measure the “cost” of queuing in the long run. Their interrelationship will be spelled out later on. LQ = Average queue length (not including customers that are being served) L = Average population = Average number of customers in the system
  • 9. // LQ and L are time-averages, i.e., // averages over all nanoseconds until . WQ = Average queuing time of a customer W = Average delay of a customer // WQ and W are averages over customers = WQ + 1/ // Delay = queuing + a service time // 1/ = mean service time in the formula W = WQ + 1/. // Later when  sometimes stands for ave. output rate, // then W = WQ + 1/ is only for a single-server system. We now establish two more relations among these four measures of cost so that any of them determines all others: L Little’s Formula 1: L = W W W = WQ + 1/ (1/ = mean service) LQ Little’s Formula 2: LQ = WQ WQ Little’s Formula 1. L = W for all stationary queuing models. // All stationary models regardless of the arrival process, service// time distribution, number of servers, and queuing discipline
  • 10. Proof. Think of a measure of the cost as money that customers pay to the system. In this proof, let each customer in the system pay to the system at the rate of $1 per unit time. L = Time-average “rate” at which the system earns // Unit of this “rate” = $/unit time =   Average payment per customer when in the system // Unit of this amount = $/person // time-ave  ave over customers = W // Unit = (person/unit time)*($/person) = $/unit time Little’s Formula 2. LQ = WQ for all stationary queuing models. Proof. Let each customer in queue pay $1 per unit time to the system. LQ = Time-average “rate” at which the system earns =   Average amount a customer pays in queue = WQ In conclusion, L L = W W  L = LQ + / W = WQ + 1/ (1/ = mean service) (1/ = mean service) LQ LQ = WQ WQ
  • 11. Now we can calculate the expected service charge to a service request. Based on these results, we get the expected net business gain in given unit of time. Mechanisms: Multiple sporadic servers as a mechanism for rescheduling aperiodic tasks are applicable to today's computer environments. A developed simulation tool enables evaluation of its performance for various task sets and server parameters (See Figure-5 below). By increasing the number of servers, aperiodic task response time is reduced; system utilization and the number of reschedulings are increased whereas periodic task execution is disrupted insignificantly. Proper selection of server parameters improves task response time, and decreases the number of unnecessary reschedulings. Simulation results prove model correctness and simulation accuracy. The simulator is applicable to developing rescheduling algorithms and their implementation into real environments. Simulation Code: The following source code will provide you a tool to perform simulation in an M/M/m environment with finite number of customers. #include <stdio.h> #include <stdlib.h> // Needed for rand() and RAND_MAX #include <math.h> // Needed for log() #include <iostream.h> //----- Constants ------------------------------------------------------------#define SIM_TIME 1.0e7 // Simulation time //----- Function prototypes ---------------------------------------------------
  • 12. double expntl(double x); // Generate exponential RV with mean x double general(); /********************** Main program******************************/ void main(void) { for(int i=1;i<=49;i++) { double end_time = SIM_TIME; // Total time to simulate double Ta ; // Mean time between arrivals double Ts = 2.0; // Mean service time int m=2; //no of servers double time = 0.0; // Simulation time double t1 = 0.0; // Time for next event #1 (arrival) double t2 = SIM_TIME; // Time for next event #2 (departure) long int n = 0; // Number of customers in the system long int k=8; //buffer space float p; double c = 0.0; // Number of service completions double s = 0.0; // Area of number of customers in system double tn = time; // Variable for "last event time" double x; // Throughput double l; // Mean number in the system double w; // Mean residence time p=0.02*i; Ta=Ts/(m*p); // Main simulation loop while (time < end_time) { if (t1 < t2) // *** Event #1 (arrival) { time = t1; s = s + n * (time - tn); // Update area under "s" curve if(n<k) n++; tn = time; // tn = "last event time" for next event t1 = time + expntl(Ta); if (n == 1) t2 = time + expntl(Ts);
  • 13. } else // *** Event #2 (departure) { time = t2; s = s + n * (time - tn); // Update area under "s" curve if(n>m) n-=m; else n=0; tn = time; // tn = "last event time" for next event c++; // Increment number of completions if (n > 0) t2 = time + expntl(Ts); else t2 = end_time; } } x = c / time; // Compute throughput rate l = s / time; // Compute mean number in system w = l / x; // Compute mean residence or system time if(l>0) cout<<p<<"t"<<l<<endl; } } /****************************************************************** ****** Function to generate exponentially distributed RVs Input: x (mean value of distribution) Output: Returns with exponential RV ****************************************************************** *******/ double expntl(double x) { double z; // Uniform random number from 0 to 1 // Pull a uniform RV (0 < z < 1)
  • 14. do { z = ((double) rand() / RAND_MAX); } while ((z == 0) || (z == 1)); return(-x * log(z)); } Figure-5 Simulation Result Obtained
  • 15. IMPLEMENTATION Implementation is the stage of the project when the theoretical design is turned out into a working system. Thus it can be considered to be the most critical stage in achieving a successful new system and in giving the user, confidence that the new system will work and be effective (See Figure-6). The implementation stage involves careful planning, investigation of the existing system and it’s constraints on implementation, designing of methods to achieve changeover and evaluation of changeover methods. Figure-6 Components of a Queuing System CONCLUSION This paper proposes a novel pricing demand scheme designed for a cloud based environment that offers querying services and aims at the maximization of
  • 16. the cloud profit with predictive demand price solution on economic way of user profit. The proposed solution allows: on one hand, long-term profit maximization with price minimization on request of same demand, and, on the other, dynamic calibration to the actual behavior of the cloud application. REFERENCES  M. Armbrust, et al., “Above the clouds: a Berkeley view of cloud computing,” Technical Report No. UCB/EECS-2009-28, February 2009  R. Buyya, D. Abramson, J. Giddy, and H. Stockinger, “Eco- nomic models for resource management and scheduling in grid computing,” Concurrency and Computation: Practice and Experience, vol. 14, pp. 1507-1542, 2007.  R. Buyya, C. S. Yeo, S. Venugopal, J. Broberg, and I. Brandic, “Cloud computing and emerging IT platforms: vision, hype, and reality for delivering computing as the 5th utility,” Future Generation Computer Systems, vol. 25, no. 6, pp. 599-616, 2009.  P. Chandrakasan, S. Sheng, and R. W. Brodersen, “Low- power CMOS digital design,” IEEE Journal on Solid-State Cir- cuits, vol. 27, no. 4, pp. 473-484, 1992.  N. Chun and D. E. Culler, “User-centric performance analy- sis of marketbased cluster batch schedulers,” Proceedings of the 2nd IEEE/ACM International Symposium on Cluster Computing and the Grid, 2002.  Durkee, “Why cloud computing will never be free,” Com- munications of the ACM, vol. 53, no. 5, pp. 62-69, 2010.  K. Hwang, G. C. Fox, and J. J. Dongarra, Distributed and Cloud Computing, Morgan Kaufmann, 2012.
  • 17.  Intel, Enhanced Intel SpeedStep Technology for the Intel Pentium M Processor – White Paper, March 2004.  P. Mell and T. Grance, “The NIST definition of cloud comput- ing,” National Institute of Standards and Technology, 2009.