Next Article in Journal
Strategic Complementarities in a Model of Commercial Media Bias
Previous Article in Journal
Procedurally Fair Co-Determination with Endogeneous Value Uncertainty: An Experiment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two-Tier Marketplace with Multi-Resource Bidding and Strategic Pricing for Multi-QoS Services

by
Samira Habli
1,2,3,*,
Rachid El-Azouzi
1,*,
Essaid Sabir
4,
Mandar Datar
5,
Halima Elbiaze
3 and
Mohammed Sadik
2,6
1
CERI/LIA, University of Avignon, F-84029 Avignon, France
2
NEST Group, LRI Lab, ENSEM, Hassan II University of Casablanca, Casablanca 20000, Morocco
3
Department of Computer Science, University of Quebec at Montreal, Montreal, QC H2L 2C4, Canada
4
Department of Science and Technology, TÉLUQ, University of Quebec, Montreal, QC H2S 3L4, Canada
5
CEA-Leti, Universite Grenoble Alpes, F-38000 Grenoble, France
6
LAMSAD Laboratory, Hassan 1 University of Settat, Settat 26002, Morocco
*
Authors to whom correspondence should be addressed.
Games 2025, 16(2), 20; https://doi.org/10.3390/g16020020
Submission received: 15 February 2025 / Revised: 9 April 2025 / Accepted: 15 April 2025 / Published: 21 April 2025
(This article belongs to the Section Non-Cooperative Game Theory)

Abstract

:
Fog computing introduces a new dimension to the network edge by pooling diverse resources (e.g., processing power, memory, and bandwidth). However, allocating resources from heterogeneous fog nodes often faces limited capacity. To overcome these limitations, integrating fog nodes with cloud resources is crucial, ensuring that Service Providers (SPs) have adequate resources to deliver their services efficiently. In this paper, we propose a game-theoretic model to describe the competition among non-cooperative SPs as they bid for resources from both fog and cloud environments, managed by an Infrastructure Provider (InP), to offer paid services to their end-users. In our game model, each SP bids for the resources it requires, determining its willingness to pay based on its specific service demands and quality requirements. Resource allocation prioritizes the fog environment, which offers local access with lower latency but limited capacity. When fog resources are insufficient, the remaining demand is fulfilled by cloud resources, which provide virtually unlimited capacity. However, this approach has a weakness in that some SPs may struggle to fully utilize the resources allocated in the Nash equilibrium-balanced cloud solution. Specifically, under a nondiscriminatory pricing scheme, the Nash equilibrium may enable certain SPs to acquire more resources, granting them a significant advantage in utilizing fog resources. This leads to unfairness among SPs competing for fog resources. To address this issue, we propose a price differentiation mechanism among SPs to ensure a fair allocation of resources at the Nash equilibrium in the fog environment. We establish the existence and uniqueness of the Nash equilibrium and analyze its key properties. The effectiveness of the proposed model is validated through simulations using Amazon EC2 instances, where we investigate the impact of various parameters on market equilibrium. The results show that SPs may experience profit reductions as they invest to attract end-users and enhance their quality of service QoS. Furthermore, unequal access to resources can lead to an imbalance in competition, negatively affecting the fairness of resource distribution. The results demonstrate that the proposed model is coherent and that it offers valuable information on the allocation of resources, pricing strategies, and QoS management in cloud- and fog-based environments.

1. Introduction

In recent years, an explosion in data traffic over communications networks has been driven by the rapid growth of cloud computing and the ubiquity of mobile devices. Web and mobile applications have experienced exceptional growth, both in quality and quantity, thanks to the strong support provided by companies such as Google, Microsoft, Amazon, and others through cloud services, which use cloud computing to eliminate hardware bottlenecks for consumers and businesses. With the emergence of artificial intelligence and the evolution of 5G/6G (Bega et al., 2017), this trend is set to continue, fueled by a more competitive market among Service Providers (SPs). Indeed, the opening up of telecom networks to competition has been successful overall, driving prices down. However, recent developments in autonomous driving and Industry 4.0, to name but a few, require highly reliable connections with excellent connectivity and very low latency. For this reason, fog computing (FC), also known as edge computing (EC), is an emerging technology that complements cloud computing by bringing computing power closer to the network edge, where data are being generated. This helps to ensure faster data processing and a guaranteed level of computing capacity (Nadeem & Saeed, 2016). In addition, artificial intelligence has been incorporated into most applications to analyze and generate useful information to offer the best user experience while using these applications (Krishnan et al., 2019). These applications create complex end-user profiles, requiring various resources to satisfy their specific constraints. Therefore, efficient resource allocation becomes crucial for SPs to meet the performance goals of these applications. Moreover, the resource allocation problem is more challenging when multiple types of resources and competing SPs have different characteristics and preferences (Nguyen et al., 2019). However, we face a major challenge with FC technology due to limited resources for competing services with diverse characteristics and needs, necessitating the design of a mechanism that allows resource sharing, ensuring fairness.

Related Works

In this section, we provide an overview of the related works, focusing on the competition among SPs in the context of fog and cloud computing, pricing strategies, and resource allocation mechanisms. To facilitate the comparison, we summarize the key features and methodologies of the existing studies in Table 1.
Despite the tremendous potential of the cloud, many challenges remain to be addressed, such as latency and bandwidth limitations (Jie et al., 2020). Fog computing offers a valuable complement to cloud infrastructure fog by processing data closer to the user, enabling faster service, improving user experience, reducing latency, and enhancing privacy (Jie et al., 2019; Zhang et al., 2018). From a practical standpoint, fog computing provides benefits such as reduced latency (Bonomi et al., 2012), heightened sensitivity, lower energy consumption (Losada et al., 2021), enhanced safety (Samara et al., 2021; Yi et al., 2015), and improved reliability (Khan et al., 2017). Serving as a complement and extension to cloud computing, fog computing has the potential to ease network traffic and improve performance, cost-effectiveness, and time constraints. Fog computing enables real-time data processing at the network’s edge, facilitating immediate decision-making in intelligent transportation systems. This capability helps to optimize traffic flow and reduce congestion in urban areas (Elsayed et al., 2023). On the one hand, by processing data closer to their source, fog computing reduces latency and decreases the load on centralized cloud servers. This approach enhances system performance and can lead to cost savings by minimizing data transmission and cloud resource usage (Alraddady et al., 2022). On the other hand, fog computing’s proximity to end-users allows it to meet stringent time constraints required by applications such as autonomous vehicles and industrial automation, where rapid response times are critical (Bogucka et al., 2023). It holds promise for future applications in data transmission and distributed computing. However, challenges such as resource constraints and heterogeneity persist (Bachiega et al., 2023). Fog is less powerful than the cloud regarding computing capabilities and storage capacity. Therefore, overcoming latency, storage, and bandwidth limitations requires a shift toward combined resource allocation in a cloud–fog architecture that can support a wider range of Internet of Things (IoT) applications.
The primary objective of this work is to analyze competition among SPs with the emergence of new applications that require diverse resources from the Infrastructure Provider (InP) while imposing stringent Quality of Service (QoS) constraints. To address this challenge, we propose a novel market-based framework that balances the needs of each SP while investigating the impact of competition on prices and market sharing among SPs (Baslam et al., 2011; Luong et al., 2017; Nguyen et al., 2019). Specifically, we present a comprehensive model of market power and illustrate how SPs exert it at various levels of competition. In such an environment, an SP must employ a reliable demand model to determine the optimal pricing strategy given the prices and QoS levels offered by competing SPs. The relationship between demand and price for each SP may be modeled in various ways, with one critical consideration being the behavior of the total market size as a function of price changes and service offerings. Typically, the total market size decreases as aggregate service prices increase.
In this paper, we focus on pricing strategies under scenarios where the total market size demonstrates high or moderate sensitivity to price fluctuations. We assume that the attractiveness of an SP’s service is a linear function of its price, QoS, and the prices and QoS levels of its competitors (El-Azouzi et al., 2003). Consequently, the demand for a given SP is represented as a function that depends on the price and QoS vectors of all the SPs. In previous work (Habli et al., 2023), we explored the interplay between pricing strategies and QoS considerations in the telco market, particularly for cloud computing facilities. Here, we model the interactions among SPs as a non-cooperative game, analyze the Nash equilibrium in price choices, and examine how varying levels of competition influence equilibrium prices and market shares in the context of cloud and fog facilities.
Our main contributions are as follows:
  • We present a framework to model the interactions among competing SPs, with a focus on price, QoS, and the resource demands of each SP as the primary factors. In this paper, QoS is characterized as a combination of resources, including random access Memory (RAM), Central Processing Unit (CPU) cycles, and Bandwidth (BW).
  • We investigate how SPs set their prices strategically to maximize profit while competing in the market and analyze the influence of pricing strategies on resource allocation and market dynamics.
  • We develop mathematical models to capture and analyze the market dynamics of pricing competition and QoS management within the marketplace.
  • We derive conditions for the existence and uniqueness of the Nash equilibrium, compute it explicitly, and characterize its properties to study resource allocation strategies under competitive settings.
  • We introduce a price differentiation mechanism among SPs to address the imbalances in the allocation of fog resources and achieve a more equitable allocation of resources at the Nash equilibrium. This mechanism improves fairness, particularly for SPs with limited access to fog resources, without compromising strategic behavior.
  • We provide extensive numerical results to validate the proposed model’s consistency and explore how various parameters influence market prices. For validation, we use Amazon EC2 instances as benchmarks for resource allocation in the proposed services.
The remainder of this paper is structured as follows: Section 2 introduces the system model and discusses its key components, providing a foundational understanding of the problem. Section 3 delves into allocating resources from cloud and fog computing environments, deriving equilibrium conditions. This section also investigates the existence and uniqueness of equilibria, offering insights into the strategic behavior of SPs at equilibrium. In Section 4, we present numerical results that validate the theoretical models developed in the previous sections and compare the performance under different scenarios. Finally, Section 5 concludes the paper by summarizing the findings and proposing potential directions for future research.

2. System Model

We consider a two-level marketplace, where, at the upper level, a set of SPs K = { 1 , 2 , , K } leases resources from Infrastructure Providers (InPs) to deliver various heterogeneous vertical applications (services), such as IoT, Virtual/Augmented reality, cloud computing, and more. At the lower level, the SPs (sellers) use the leased resources to compete to attract the maximum number of end-users (buyers).
Specifically, we assume that each InP has a network comprising cloud computing (CC) or fog computing (FC) facilities, or both, as depicted in Figure 1. This represents a comprehensive infrastructure configuration designed to provide a variety of computing, storage, and networking services. The cloud and fog facilities encompass physical resources such as RAM, CPU, BW, radio resources, etc., which are leased to SPs offering various services to end-users. Let R = { 1 , , r , , R } be the set of R distinct resource types. For clarity, the main notations are listed below in Table 2.
The SPs can access the resources from either FC or CC facilities. However, fog facilities have limited resources, while the cloud offers virtually unlimited capacity. Consequently, each SP needs to combine the resources allocated by both the fog and the cloud to ensure sufficient resources to deliver services of a certain quality to its end-users. The fog facility’s resources have a predefined capacity, denoted by C = ( C 1 , , C R ) , which represents the total quantities of various resources available in the fog. Any unmet requirements are fulfilled by acquiring additional resources from the cloud.
The services provided by an SP are characterized by two essential factors: the price charged and the QoS delivered. Thus, each SP k establishes two defining parameters for its offered services: ( p k , q k ) R + 2 , where p k represents the cost per unit of demand imposed by SP k on its end-users, and q k embodies the QoS it guarantees. In this paper, we consider that the QoS offered by each SP is fixed.
Each SP k K leases resources from the InP and competes to attract users by offering better QoS at lower prices. We consider that each SP k experiences a demand that can be defined by function D k : R + 2 K R + , which depends on its own service parameters, p k and q k , as well as on the prices p k = ( p j ) j k and the QoS q k = ( q j ) j k of its competitors. Thus, each demand function D k is influenced by the entire price vector p = ( p 1 , , p K ) and QoS vector q = ( q 1 , , q K ) . In general, demand functions can take on several functional forms, each representing different interactions among the SPs. In this work, we restrict our analysis to a linear demand model, which captures the average behavior of a telecommunication market with stochastic demand generated by end-users. This linear model reflects the condition where demand increases as price decreases or as QoS improves.

2.1. SP Demand Model

We consider the demand function of each SP k to be linear and continuous with respect to all price and QoS parameters. Specifically, the demand function is formulated as
D k ( p ) = d 0 b k p k + j k j K b k j p j + β k q k j k j K β k j q j ,
where b k , b k j , β k , and β k j are positive constants. To ensure consistent and realistic market behavior, we impose the following assumptions: b k > b k j for all j k , indicating that each provider’s price sensitivity is stronger for its own price than for those of others. β k > β k j for all j k , reflecting that a provider’s sensitivity to its service quality is stronger than to that of competitors. These assumptions are necessary to maintain the structure of competitive market interactions, where players are generally more sensitive to their own decisions (pricing and QoS) than to the decisions of others.
In this model, the demand function D k reflects the sensitivity of demand to both price and QoS factors. Specifically, the demand for each SP k decreases as its price p k increases. Conversely, it increases with higher prices p j charged by its competitors. Similarly, an improvement in its own QoS q k boosts demand, while better QoS offered by competitors q j , j k reduces it. This framework underscores the dynamic interplay between competition, pricing strategies, and QoS in determining the demand for each SP’s services.

2.2. QoS Model

In practical scenarios, QoS encompasses various metrics such as delay, completion time, packet loss, and jitter. However, our model emphasizes that QoS primarily hinges on allocating resources to an SP to deliver services to end-users with specific requirements. In this context, we adopt a model in which the QoS of SP k is determined by the combination of resources allocated to run a particular service. Thus, the amount of resources needed to achieve a certain QoS level q k for SP k depends on the demand it faces. Higher demand and desired QoS levels necessitate greater resource allocation from the InP. In this paper, we specifically adopt the Leontief function to define the QoS offered by each SP. The QoS of each SP can be expressed as the minimum ratio of resource allocation to resource requirements across all necessary resources.
Since resource types in fog computing complement the same resource types in the cloud, we need to calculate the minimum required resources in both the cloud and fog for each SP. For cloud resources, the QoS offered by each SP is given by
g k ( x ˜ k r ) = min R x ˜ k r h k r , r R .
Thus, the minimum resources that can be allocated to an SP k K to support QoS for one unit of service is given by x ˜ k r = q ^ k h k r . For fog resources, the QoS is given by
g k ( x ¯ k r ) = min R x ¯ k r h ¯ k r , r R .
Thus, the minimum resource type r needed by each SP k to support the QoS for one unit of service is
g k ( x ˜ k r , x ¯ k r ) = min R x ˜ k r h k r , x ¯ k r h ¯ k r , r R .
We used Leontief function since the resource types are perfect complements (Sun et al., 2019), meaning that obtaining a resource type r in excess does not yield a higher utility. In the above equations, the value h k r denotes the minimum amount of resource type r required by SP k to provide a unit service rate to its end-users. For illustration purposes, we assume SP k requires 0.3 units of BW, 0.2 units of RAM, and 0.2 units of CPU to support a unit QoS rate. If SP k receives from the InP (cloud and fog facilities) 0.6 units of BW, 0.8 units of RAM, and 0.2 units of CPU, then SP k can support one unit of QoS for its single end-user, as shown by
g k ( x k r ) = min 0.6 0.3 , 0.8 0.2 , 0.2 0.2 = 1
In this work, we define, for each SP k, a resource allocation x k = ( x k 1 , , x k r , , x k R ) X k , which represents the total need from each resource type r. Here, X k R + R is a convex and compact set such that 0 X k , indicating that zero resources is a possible allocation.
For an SP k K , since it utilizes both cloud and fog resources, its total resource allocation for a specific type of resource r R is divided between the fog and cloud environments. A portion of the demand is supported by fog computing, while the remaining demand is fulfilled by cloud computing, depending on the availability of resource r in the fog. The total resource allocation for resource type r R is then given by
x k r = x ¯ k r + x ˜ k r
Let us assume that the resources obtained in the fog, which are not known in advance, cover α r D k ( p ) of its demand, where α r [ 0 , 1 ] . Then, we have
x ¯ k r = q ^ k h ¯ k r α r D k ( p )
Hence, the remaining demand that is not served by fog resources, ( 1 α r ) D k ( p ) , is fulfilled by the resources available in the cloud.

2.3. Resources in the Fog

For the multiple resources available in the fog, we propose employing the Kelly mechanism (Kelly, 1997) as a solution for resource allocation within fog facilities. This mechanism enables the equitable distribution of resources among SPs through optimized pricing strategies, ensuring efficient allocation in the fog computing environment. Our work focuses on utilizing this mechanism to establish an optimal pricing structure between SPs and fog facilities. The constrained capacity of the fog facility leads to two-sided competition: one aspect to attract end-users based on the pricing set by the SPs and the other to procure resources based on the fees charged by the fog for each resource type in R . We delve into the interactions among SPs under the Kelly mechanism when resources are allocated to them by the fog. Subsequently, we formally define the Kelly mechanism in this context.

Kelly Mechanism

In Kelly’s pricing mechanism, each player (i.e., SP) bids on each type of resource r R . SPs compete for a share of divisible resources, and each SP k submits a bid ( w k r 0 ) , which is equal to the fee paid by each SP k to the fog for obtaining a share of x ¯ k r of the resource type r. Once all SPs have placed their bids, the total bidding at the fog for each resource type r is W r = j = 1 K w j r , r R . The price per unit resource that each SP pays to the fog for utilizing a resource r is
ζ r f o g = W r C r
where C r is the capacity of the resource type r.
The resource share vector x ¯ k of each SP k is proportional to its bidding vector w k . Mathematically, we note the bid vector as w k = ( w k 1 , , w k r , , w k R ) ; thus, the resource allocation vector x ¯ k = ( x ¯ k 1 , , x ¯ k r , , x k R ) is defined by
x ¯ k r = w k r W r C r , if w k r > 0 0 , if w k r = 0

2.4. Resources Allocated from the Cloud

For SPs in K utilizing resources purchased from fog and cloud computing, their cost depends on the amount of resources obtained from the fog through the Kelly mechanism. Let x ¯ k r , r R be the amount of resource type r obtained in the fog. Thus, from (6), we have
α r = x ¯ k r q ^ k h ¯ k r D k ( p )
Then, the remaining resources needed from the cloud are given by
x ˜ k r = q ^ k h k r ( 1 α r ) D k ( p )
= q ^ k h k r D k ( p ) h k r h ¯ k r x ¯ k r
= q ^ k h k r D k ( p ) h k r h ¯ k r w k r W r C r

2.5. Utility of SPs

The utility function of SP k K is the difference between the revenue from its end-users and the total cost incurred by the utilization of resources in R :
U k ( p , w ) = p k D k ( p ) r R f r ( p , w )
The total cost each SP k K needs to pay to the cloud and fog computing, from (7), (8), and (12), is given by
f r ( p , w ) = ζ r c l o u d x ˜ k r + ζ r f o g x ¯ k r
= ζ r c l o u d q ^ k h k r D k ( p ) h k r h ¯ k r w k r W r C r + w k r
= ζ r c l o u d q ^ k h k r D k ( p ) + w k r 1 ζ r c l o u d h k r h ¯ k r C r W r
Thus, the utility function of each SP k defined in (13) becomes
U k ( p , w ) = D k ( p ) p k q ^ k r R ζ r c l o u d h k r r R w k r 1 ζ r c l o u d h k r h ¯ k r C r W r

2.6. Game and SP Strategies

In the Kelly mechanism, each SP places a bid on each resource type r R while playing the best response. We assume that all SPs are rational and aim to maximize their utilities. In this scenario, the decision of each SP k depends not only on its price and its bidding vector, ( p k , w k ) , where k K , w k = ( w k 1 , , w k r , , w k R ) denotes the bid to request different types of resources from the fog and p k represents the price each SP k charges to its end-users. It also depends on the price and bidding vectors of its competitors ( p k , w k ) ; the utility of each SP in K depends on its price-bidding strategy ( p k , w k ) , as well as the price-bidding strategies of its competitors ( p k , w k ) . We define the price-bidding strategy of each SP k as
S k = ( p k , w k ) : 0 l ( q ^ ) p k p m a x ; w k r 0 ,
and define the strategy space by
S = S 1 × S 2 × S 3 × × S K ,
where p k m i n = l ( q ^ ) allows explicitly eliminating the strategies that will result in negative utility for SP k. The fact that there are maximum prices ( p m a x ) ensures that, above reasonable prices, the demand will be zero (whatever the prices of the competitors and the fixed QoS q ). Finally, k K and r R , the bids, w k r , are non-negative.
Kelly’s pricing mechanism induced a non-cooperative game denoted as
G ( p , w ) K , ( p k , w k ) S k , U k k K
  • set of players K ;
  • players’ respective strategy spaces S k = { ( p k , w k ) : 0 l ( q ^ ) p k p m a x ; w k r 0 } ;
  • S = S 1 × S 2 × S 3 × × S K defines the joint action space for the game;
  • players’ utility functions U k ( p , w ) k K .
Definition 1 
(Nash Equilibrium in Prices and Bidding). Let U k ( p , w ) be the utility of SP k when the vectors of prices and bids set simultaneously by all the SPs are given by ( p , w ) . Then, a two-parameter Nash equilibrium in ( p , w ) is the vector couple ( p * , w * ) that solves the following system:
U k ( p * , w * ) = max ( p k , w k ) S k U k ( p k , w k , p k * , w k * ) , k K .
For this scenario, we establish the existence and uniqueness of the Nash equilibrium solution of the game G ( p , w ) when the vector of QoS levels of all SPs is fixed.

3. Equilibrium Analysis

We establish the existence and uniqueness of the Nash equilibrium of the game G p , w . We study the interactions among SPs under the pricing and bidding strategies. Let
δ k r = h ¯ k r h k r , r R
The variable δ k r represents the ratio of the reference resource complement in the fog ( h ¯ k r ) to the current resource complement in the cloud ( h k r ) for each SP k, where r R indicates the type of resource. This ratio, δ k r , is essential for modeling price differentiation between fog and cloud computing environments. Specifically, it reflects how the resource complement in the fog compares to that in the cloud, which has important implications for resource allocation strategies in competitive environments.
To illustrate the role of δ k r , consider a service that requires a CPU for task processing, BW for transmitting requests and receiving responses, and storage space to hold task requests. When the QoS includes a deadline for task execution, the proximity of fog resources offers a significant advantage over cloud resources. In such cases, fog resources provide lower latency, which directly reduces the BW needed to meet QoS constraints compared to cloud resources, which are farther from the end-user and require higher BW to compensate for increased latency.
Thus, δ k r helps to quantify the difference in resource utilization between fog and cloud, and it is a key factor in determining pricing strategies for SPs competing to attract end-users while managing resource costs. This differentiation plays a crucial role in the optimal allocation of resources in fog and cloud environments.
For each r R , we define σ r : K K a mapping function such that δ σ r ( 1 ) r δ σ r ( 2 ) r δ σ r ( K ) r . From (17) and (18), the utility of each SP K becomes
U k ( p , w ) = D k ( p ) p k q ^ k r R ζ r c l o u d h k r r R w k r 1 ζ r c l o u d δ k r C r W r
The following theorem establishes the existence of a Nash equilibrium of the game G p , w .
Theorem 1. 
There exists a Nash equilibrium of the non-cooperative pricing game G p , w .
The detailed proof is provided in Appendix A.1.
We now study the uniqueness of the Nash equilibrium of the game G p , w . We present the necessary elements and conditions required to establish the proof of the uniqueness of the Nash equilibrium in this non-cooperative game. The analysis will focus on the strategic interactions among SPs and the resource allocation mechanism, considering both the price and bidding strategies involved.
Definition 2 
(Diagonally Dominant Matrix). A square matrix B is diagonally dominant if j k , j K | B k j | | B k k | for all k K .
The following lemma gives a sufficient condition for a symmetric matrix to be negative definite.
Lemma 1 
(Gershgorin Circle Theorem (Horn & Johnson, 2012)). If a symmetric matrix is strictly diagonally dominant and has strictly negative diagonal entries, it is negative definite.
We shall make the following assumption, which will be used to show the uniqueness of the Nash equilibrium.
Assumption 1. 
The constants b k and b k j satisfy j K , j k b k j b k .
Assumption 1 implies that the influence of an SP’s own price on its observed demand is significantly greater than the influence of other SPs’ prices. This condition could then be interpreted as the presence of customer loyalty or the reputation of the SPs.
Assumption 2. 
We assume that the demand function of each SP k satisfies
D k p m a x q k ^ r R ζ r C l o u d h k r , 0 k 0 , k K
where q k ^ r R ζ r C l o u d h k r = p k m i n , and 0 k is the K 1 dimensional null vector.
Assumption 2 requires that, if we extrapolate the demand of an SP linearly out of the feasible region and allow its competitors’ prices to be zero, then the demand would be non-positive.
Definition 3 
(Diagonal Strict Concavity (Rosen, 1965)). A game with profiles of strategies z and profiles of utility function U is called diagonally stricty concave (DSC) for a given vector r if for every distinct z ¯ and z ^ ,
g ( z ¯ , r ) g ( z ^ , r ) ( z ¯ z ^ ) < 0 ,
with g the concatenation of the weighted gradients of the players’ utility functions, and z defines the price or bidding strategy of the game G ( p , w ) ,
g ( z , r ) = r 1 1 U 1 ( z ) , r 2 2 U 2 ( z ) , , r k K U K ( z ) ,
where k U k ( z ) denotes the gradient of utility of player k with respect to its own price strategy p k or bidding strategy w k .
The following lemma gives a sufficient condition for a symmetric matrix to be negative definite.
Lemma 2. 
A symmetric real matrix B is negative definite if Y T B Y < 0 , Y R K , Y 0 where Y is the column vector:
Y = y 1 y k y K T
First, we start to show the uniqueness of the Nash equilibrium and its characterization of the game G ( p , w ) when δ k r = δ r , k K , where δ r is a real positive value.
Theorem 2. 
There exists a unique Nash equilibrium of the non-cooperative game G ( p , w ) , with
p * = A 1 ( I V ) 1 J ,
a n d ( w k r ) * = ( K 1 ) ζ r c l o u d C r K 2 δ r , k K ,
where A = d i a g ( 2 b 1 , , 2 b k ) , V k j = b k j 2 b k k j , V k k = 0 k K , and J k = d 0 + β k + b k r R ζ r c l o u d h k r q ^ k j k j K β k j q ^ j .
The proof is detailed in Appendix A.2.
Now, we will deal with the case where δ k r values are different and depend on the SP as SPs offer different services and the correlation between resource types is not the same for each SP.
Theorem 3. 
There exists a unique Nash equilibrium of the non-cooperative game G ( p , w ) , with p * given by (23) and
( w k r ) * = ( k * 1 ) ζ r c l o u d C r k = 1 k * δ k r 1 ( k * 1 ) δ k r k = 1 k * δ k r i f   k B * 0 o t h e r w i s e
where k r * = m a x k { k k = 1 k δ σ r ( k ) r ( k 1 ) δ σ r ( k ) r > 0 } and B * = { σ ( 1 ) , , σ ( k r * ) } .
The proof is detailed in Appendix A.3.
One of the main issues with this solution is that some SPs cannot use the resources available in Nash’s balanced cloud. The Nash balanced solution tends to allocate more resources to SPs, with a significant advantage in utilizing resources in the fog. This results in a lack of fairness among SPs utilizing the resource in the fog.
Rather than implementing a nondiscriminatory mechanism, we consider a price differentiation among SPs. Our motivation regarding price differentiation is to achieve a fairer allocation in the fog at the Nash equilibrium. In particular, for each SP k and resource r in the fog, let v k r be the price per unit associated with SP k and thus the total cost for an offer w k r is v k r w k r . Consequently, the utility function of SP k under the generalized Kelly mechanism becomes
U k ( p , w ) = D k ( p ) p k q ^ k r R ζ r c l o u d h k r r R w k r v k r ζ r c l o u d δ k r C r W r
Let G ( p , w ) d denote the new non-cooperative game under generalized Kelly mechanism.
Proposition 1. 
There exists a unique Nash equilibrium of the game G ( p , w ) d . If the price differentiation is designed such that v k r δ r k = δ r , where δ r is a real positive value, then the NE is given by (23) and (24).
The proof of this proposition is in Appendix A.4.
Proposition 1 implies that, if InPs charge SPs that benefit more by utilizing resources in the fog, the Nash equilibrium results in a fair allocation among SPs in the fog. Price differentiation, therefore, enables InP to scale the price paid by an SP k for each resource type r according to δ k r . The higher this value, the higher the price paid by SP k. In this way, the InP can use this pricing to target a specific objective according to its preferences. If its objective is to guarantee fair sharing, according to Proposition 1, the price paid by SP k is the inverse of its δ k r .

4. Numerical Investigations and Discussion

In this section, we provide the numerical results to validate the theoretical findings presented in the previous sections. We analyze the interactions among the SPs within a game-theoretic framework, specifically investigating how these interactions manifest at the Nash equilibrium of the game G p , w . To delve deeper into these interactions, we assume that each SP requires three distinct types of resources, RAM, CPU, and BW, from the fog and cloud computing environments (InP) to deliver their services effectively. These resources are critical for the operation and performance of the services provided by each SP. Our analysis examines how varying parameters impact several key metrics, including
  • Price: the cost that each SP charges for its services.
  • Equilibrium cost: the overall expenditure incurred by the SPs in procuring the necessary resources.
  • Market share (MS): the proportion of the market each SP captures based on its service offerings and resource utilization.
  • Market size: the total demand for services within the market.
We set up two distinct case scenarios to simulate and analyze these effects. Each scenario reflects different combinations of resources required by the SPs to operate their services. For our simulations, we utilize Amazon EC2 instances Amazon EC2 Instance Types (n.d.), as detailed in Table 3. The specific instance used by each SP is as follows:
  • S P 1 : Requires resources equivalent to the Amazon EC2 instance type r4.8xlarge.
  • S P 2 : Requires resources equivalent to the Amazon EC2 instance type r4.16xlarge.
  • S P 3 : Requires resources equivalent to the Amazon EC2 instance type c5.18xlarge.
Each instance type provides a different balance of RAM, CPU, and BW, influencing the SPs’ operational characteristics and competitive dynamics. By varying each parameter and observing its effects, we aim to provide insights into how resource requirements and market conditions affect the strategic decisions of SPs and the overall equilibrium of the market.
We assume that S P 1 and S P 3 have a higher reputation than S P 2 in all the scenarios. S P 2 focuses on enhancing customer satisfaction and attracting additional subscribers.
The demand function for each SP i = 1 , 2 , 3 with i j , i k is given by
D i ( p ) = d 0 b i p i + b i j p j + b i k p + β i q i β i j q j β i k q k
with d 0 = 350 350 350 , b i = 14 10 20 , β i = 1 2 3 , q i = 2 2 4 , b i j = 0 9 5 4 0 4 6 12 0 , and β i j = 0 3 1 5 0 1 2 2 0 .
The InP charges a uniform price per unit of resource to each SP, ζ r c l o u d = 0.02 for each resource type r { RAM , CPU , BW } . The capacity of the fog is C r = 200 30 10 .
The market share of each SP i is calculated as
M S E i = D i M S E , i = 1 , 2 , 3 .
where D i represents the demand for SP i, and M S E is the equilibrium market size, defined as
M S E = i = 1 3 D i ,
We perform simulations to examine the behavior of the SPs under these conditions, focusing on how resource allocation and pricing changes affect each SP’s strategic decisions, market dynamics, and market share. We investigate the effect on overall market share and resource allocation strategies by systematically varying specific parameters in each scenario.

4.1. Case of 2 SPs

We focus on the interaction between two SPs, S P 1 and S P 2 , and analyze the Nash equilibrium behavior of the game under different scenarios, varying a parameter in each case, and highlighting its effects on demand, price, market share, and market size.

4.1.1. Scenario 1: The Impact of Demand Sensitivity to Price

In this scenario, we investigate the impact of b 2 on market behavior and pricing strategies. b 2 denotes the demand responsiveness of S P 2 to its price; S P 2 focuses on customer loyalty through targeted advertising and attractive subscription offers. Figure 2 illustrates how S P 2 ’s demand responsiveness to its price b 2 affects demand, pricing, utility, market share, and market size for both SPs. Figure 2a shows that the quantity demanded for S P 1 declines sharply. D 1 begins to decline rapidly, while D 2 increases at the beginning, with the two demands intersecting at b 2 = 25 . After this point, D 1 decreases more gradually, while D 2 starts to decline linearly. To counterbalance the loss while increasing b 2 , S P 2 rapidly reduces its price, as illustrated in Figure 2b; to remain operational and competitive in the market, S P 2 adopts an aggressive approach, significantly lowering its prices to attract end-users and offset its market losses. This strategy also pressures S P 1 to make slight price reductions, as reflected by the intersection at b 2 = 25 in Figure 2a. While S P 2 manages to retain a market share by offering services at lower prices and consequently earning reduced profits, S P 1 sustains its services with more moderate pricing, leveraging its strong reputation and loyal customer base.
Figure 2c shows that the utility of S P 1 decreases gradually as b 2 increases. In contrast, S P 2 ’s utility declines more sharply with b 2 . As b 2 approaches 100, the utilities of both SPs converge. This suggests that b 2 significantly impacts the competitive dynamics between the two SPs, reducing the utility gap as it increases. S P 2 is losing profit while investing in attracting end-users. The interaction between the SPs occurs when both hold a market share, as illustrated in Figure 2d; the market experiences a sharp decline before eventually stabilizing, ultimately concluding with a decrease in S P 1 ’s market share and an increase in S P 2 ’s market control.

4.1.2. Scenario 2: The Effect of QoS

We examine how q 2 impacts the market behavior and pricing strategies; S P 2 offers higher quality to attract more subscribers. S P 1 maintains the same QoS. As illustrated in Figure 3a, the quantity demanded from S P 2 decreases slightly as q 2 increases; however, the quantity demanded from S P 1 experiences a slight increase. The MSE is depicted as a flat line, indicating minimal deviation across q 2 . In Figure 3b, the price of p 2 * increases linearly as q 2 rises, while S P 1 ’s price remains relatively constant at a lower value. This indicates that S P 2 ’s pricing strategy is sensitive to changes in q 2 , whereas S P 1 maintains a consistent pricing approach regardless of q 2 .
In Figure 3c, the utility of S P 1 increases with q 2 , whereas the utility of S P 2 decreases. In Figure 3d, M S E 1 increases slightly as q 2 grows, while M S E 2 decreases. This demonstrates that q 2 has an opposing effect on the two SPs, benefiting S P 1 in terms of utility and market share while negatively impacting S P 2 .
The analysis of the impact of q 2 reveals contrasting effects on utility, market share, and pricing dynamics for both SPs. As q 2 increases, S P 1 gains utility and slightly increases its market share, while S P 2 experiences a decline in both utility and market share. S P 2 ’s prices rise with q 2 , whereas S P 1 ’s prices remain stable. Overall, q 2 enhances S P 1 ’s competitiveness while disadvantaging S P 2 .

4.2. Case of 3 SPs

Now, we examine the competition among the three SPs, S P 1 , S P 2 , and S P 3 , by analyzing the Nash equilibrium behavior of the game across various scenarios. Each scenario involves varying a specific parameter to explore its impact on demand, price, market share, and market size.

4.2.1. Scenario of Demand Responsiveness

We study the effect of b 2 on each SP’s pricing strategy, focusing on attracting end-users and fostering loyalty through competitive subscriptions. Figure 4 illustrates how b 2 influences demand, pricing, utility, market share, and overall market size for all the SPs. As shown in Figure 4a, the quantity demanded from S P 1 initially decreases sharply, while D 2 increases at first. The demands intersect at b 2 = 20 , after which D 1 gradually declines and D 2 decreases linearly. S P 3 exhibits a similar trend to S P 1 , experiencing a decline in quantity demanded that eventually stabilizes. The interaction among the SPs occurs when all three hold market share, as depicted in Figure 4a, where the overall market experiences a sharp decline before stabilizing.
To counterbalance its losses while increasing b 2 , S P 2 adopts an aggressive pricing strategy, as shown in Figure 4b. It significantly reduces prices to attract end-users and mitigate its market losses. This approach exerts pressure on S P 1 and S P 3 , forcing them to lower their prices slightly, reflected by the intersection at b 2 = 20 in Figure 4a. Although S P 2 retains a portion of the market by offering lower prices, S P 1 and S P 3 sustain their services with more stable pricing, capitalizing on their strong reputations and loyal customer bases to remain competitive.
Figure 4c demonstrates how the utility of each SP decreases as b 2 increases. S P 1 maintains a higher utility compared to S P 2 and S P 3 , which converge toward lower values. This emphasizes the sensitivity of utility to b 2 , particularly for S P 2 , and S P 3 . As illustrated in Figure 4d, S P 1 and S P 3 ’s market shares decline, leading to a further reduction in their market shares, while the MSE of S P 2 increases steadily, allowing it to gain increased control over the market as b 2 increases.

4.2.2. Scenario: Impact of QoS

We investigate how q 2 influences market dynamics and pricing strategies, with S P 2 improving QoS to attract additional subscribers, while S P 1 and S P 3 keep their QoS constant. The figures demonstrate the effect of q 2 on each SP’s demand, utility, and pricing strategies. Figure 5a depicts the quantity demanded from the SPs as a function of q 2 , along with the MSE. The quantity demanded from S P 1 remains relatively stable, indicating minimal sensitivity to changes in q 2 . In contrast, D 2 consistently exhibits low demand, suggesting limited responsiveness to q 2 . Meanwhile, D 3 shows a steady increase in demand, highlighting a positive correlation with q 2 . The MSE remains constant across all the values of q 2 , indicating stable model performance. Figure 5b illustrates the pricing strategies ( p * ) of the SPs as a function of q 2 . The price of S P 2 increases linearly with q 2 , indicating that S P 2 adjusts its pricing proportionally as its service quality improves. In contrast, the price of S P 1 remains constant across all the values of q 2 , showing no dependence on the changing QoS q 2 . Similarly, S P 3 maintains a consistent price at a lower level, suggesting it does not adapt its pricing strategy to q 2 . The plot demonstrates contrasting approaches to pricing among the three SPs, with S P 2 adopting a dynamic strategy, while S P 1 and S P 3 maintain fixed pricing structures.
As shown in Figure 5c, the S P 1 maintains a high and constant utility, demonstrating stability and independence from q 2 . S P 2 ’s utility declines linearly as q 2 increases, indicating a diminishing return or increased costs associated with quality improvements. In contrast, S P 3 experiences a gradual increase in utility, overtaking S P 2 around q 2 = 7 , suggesting S P 3 benefits more as q 2 grows, possibly due to an optimal allocation or pricing strategy. As illustrated in Figure 5d, S P 1 ’s MSE remains constant, unaffected by variations in q 2 . S P 2 ’s MSE steadily decreases with higher q 2 , signaling a decline in market share. Meanwhile, S P 3 ’s MSE consistently increases, suggesting an improving market performance as q 2 grows. This dual trend in utility and MSE highlights differing strategies and impacts among the SPs in response to changes in QoS.
The influence of q 2 on utility, market share, and pricing dynamics varies significantly between the SPs. As q 2 increases, S P 1 and S P 3 experience rises in utility and either maintain or slightly improve their market share. Conversely, S P 2 suffers declines in both utility and market share. This disparity is further reflected in pricing trends: S P 2 raises its prices as q 2 grows, while its competitors, S P 1 and S P 3 , keep their prices steady. The increase in q 2 , to attract more subscribers, stengthens the competitive edge of S P 1 and S P 3 while puttig S P 2 at a disadvantage.

4.2.3. Scenario of Minimum Amount of Resources

In this study, we investigate the influence of h ¯ 1 R A M on the equilibrium prices. Specifically, we examine how variations in h ¯ 1 R A M impact equilibrium prices, which provide insights into how SPs adjust their pricing strategies in response to changes in resource constraints. To conduct this analysis, we simulate various scenarios with different values of h ¯ 1 R A M while keeping h ¯ k R A M for k = 2 , 3 constant. This approach enables us to isolate the effect of h ¯ 1 R A M on pricing, equilibrium cost, demand, and market share, and understand how changes in resource requirements for S P 1 influence the overall market dynamics and pricing strategies of all the players.
Figure 6a illustrates the variations in bidding weights w k , associated with RAM, CPU, and BW, as a function of h ¯ 1 RAM . Among the RAM bidding weights ( w 1 RAM , w 2 RAM , and w 3 RAM ), w 1 RAM decreases significantly as h ¯ 1 RAM increases, indicating a rapid reduction in bidding priority for this resource as its capacity grows. In contrast, w 2 RAM and w 3 RAM remain relatively stable, suggesting less sensitivity to h ¯ 1 RAM . The CPU bidding weights ( w 1 CPU , w 2 CPU , and w 3 CPU ) remain consistent and at low values close to 0.1 , showing minimal fluctuation and emphasizing steady bidding behavior for CPU resources. Meanwhile, the BW biddings remain the lowest, starting at values below 0.1 and decreasing slightly as h ¯ 1 RAM increases. This indicates that BW resources receive the least bidding priority, and this priority diminishes further as RAM capacity grows. Overall, the system prioritizes RAM bids over CPU and BW, as evidenced by the consistently higher RAM bidding weights. If balanced bidding among resources is desired, adjustments may be required to ensure that CPU and BW are not overshadowed by RAM. To achieve a fairer resource allocation, further analysis could explore the implications of declining bids for RAM and assess their potential impact on the overall efficiency of resource allocation.
Figure 6b illustrates that the price per unit resource in the fog environment, ( ζ f o g ) , remains stable for CPU and BW across the range of h ¯ 1 RAM , while the price for RAM decreases before eventually converging.

4.3. Complexity and Strengths of the Proposed Model

The proposed model is based on a game-theoretic framework that captures the competitive dynamics among non-cooperating SPs bidding for resources from fog and cloud environments, provided by an InP. The complexity of the model arises from the interaction between multiple SPs, each with different pricing and QoS strategies. The SP demand is influenced not only by their prices and QoS but also by the strategies of their competitors, making the problem non-linear and strategic.
The superiority of this model lies in its ability to account for the real-world dynamics of resource allocation in fog and cloud environments. The fog environment provides local access with lower latency but limited resources, while the cloud offers unlimited resources with potentially higher latency. Our model addresses this challenge by allowing for a dynamic and competitive bidding process, where SPs’ strategies evolve over time as they adapt to competitors’ available resources and pricing strategies.
One of the key innovations in this model is the introduction of price differentiation among SPs to achieve a fairer allocation of resources in the fog environment. Unlike traditional approaches that use nondiscriminatory allocation methods, our model considers unequal access to resources and adjusts the pricing strategies to achieve a fairer distribution. This price differentiation mechanism ensures that even SPs with limited fog resource utilization can maintain fair access to these resources, which would otherwise be dominated by larger players. Additionally, the Nash equilibrium in this model ensures that no SP can improve its outcome by unilaterally changing its strategy, providing a stable and predictable market outcome. This equilibrium concept guarantees that the resource allocation, pricing strategies, and QoS management will stabilize over time, even as the competition between SPs intensifies.
The model has been validated through simulations using Amazon EC2 instances. The results demonstrate that our approach effectively balances market forces and ensures a more equitable distribution of resources while considering the unique characteristics of fog and cloud environments.
This approach provides valuable insights into SPs’ strategic behavior and offers a more robust and fair mechanism for resource allocation.

4.4. Managerial Insights

Based on the results and practical implications of the proposed model, the following managerial insights are drawn:
  • Resource Allocation Strategy: SPs should strategically bid for resources from the fog environment, considering both their pricing and QoS and their competitors’ strategies. Efficient resource allocation from the fog can lead to lower latency and higher user satisfaction. It is essential to monitor and adjust pricing strategies dynamically to maintain a competitive edge in a rapidly evolving market.
  • Price Differentiation for Fairer Allocation: SPs with limited access to fog resources can utilize price differentiation to improve fairness in the allocation process. By adopting this pricing strategy, smaller SPs can gain better access to fog resources, which otherwise may be dominated by larger players. This leads to more balanced competition and ensures a fairer distribution of resources in the fog environment.
  • Importance of Competitive Bidding: SPs should focus on evolving their bidding strategies over time to adapt to the competitive dynamics. Since fog resources are limited, the demand for these resources can be highly competitive. Thus, SPs need to continuously reassess their pricing and QoS strategies to ensure optimal resource utilization and to avoid losing out to competitors.
  • Nash Equilibrium as a Stabilizing Force: The Nash equilibrium provides a stable and predictable market outcome. SPs should understand that their pricing and QoS strategies cannot be improved unilaterally when in equilibrium. This concept assures them that, by adopting optimal strategies, resource allocation, pricing, and QoS will stabilize, even in highly competitive environments.
  • Scalability and Adaptability: The ability of SPs to scale their operations by transitioning from fog to cloud resources is essential. The cloud provides unlimited resources but with potentially higher latency. Managers should take this into account when planning service offerings, ensuring that they can leverage the advantages of both environments depending on the demand and QoS requirements.
  • Cost Optimization: SPs must weigh the cost and performance trade-offs. SPs can better manage operational costs by adopting a dynamic pricing strategy that adjusts based on resource availability and competition. Optimal resource allocation from the fog environment can help to reduce costs and improve performance, thus offering a better value proposition to end-users.

5. Conclusions

We addressed the problem of allocating multiple resources, where SPs lease diverse resources, such as RAM, CPU, and BW, from both cloud and fog environments to deliver their services and satisfy user requirements. In this paper, we have introduced a game-theoretic model that describes the competition between non-cooperating SPs as they bid for resources in fog and cloud environments, managed by an InP, to offer paid services to end-users. The demand of each SP is influenced not only by its pricing and QoS but also by the strategies employed by its competitors. The InP allocates resources starting from the fog, which offers lower latency but limited capacity, and then supplements with cloud resources when the fog’s capacity is reached. This bidding mechanism drives competition among SPs, motivating them to optimize both their pricing and QoS strategies. Through the establishment of a Nash equilibrium, we have ensured that the resulting allocation is stable, with no SP able to improve its outcome by altering its strategy alone. We validated the model via simulations using Amazon EC2 instances, which revealed valuable insights into the interplay of market prices, resource allocation, and QoS management in these environments. However, our findings also highlight a challenge in the Nash equilibrium where SPs with stronger access to fog resources gain a disproportionate share of resources, leading to fairness concerns. The parameters of the model, such as resource availability, bidding, QoS, and demand’s sensitivity to price, directly affect these dynamics. For example, h ¯ 1 RAM determines the SP’s ability to access fog resources. If these parameters are set to favor SPs with greater fog access, other SPs may be disadvantaged, reducing fairness in resource distribution. In light of this, we have proposed price differentiation among SPs as a method to foster a fairer allocation in the fog while maintaining equilibrium stability. These insights address fairness issues and contribute to the broader understanding of how price strategies can effectively balance competition and resource utilization in cloud and fog environments. Furthermore, analyzing the impact of various parameters, such as bidding and resource constraints, reveals whether they provide an advantage or disadvantage for SPs.
For further research, we aim to explore the role of multiple QoS attributes, such as bandwidth, latency, and reliability, in shaping the competitiveness of SPs. By incorporating these additional factors, we can investigate how they influence customer preferences and market share among SPs. These attributes not only affect the attractiveness of services but also influence SPs’ bidding strategies, providing a richer perspective on how SPs compete in complex environments. Analyzing these attributes will offer a deeper understanding of the trade-offs involved in service provision and help to refine pricing strategies in fog and cloud systems, ensuring they align with end-users’ expectations and enhance the overall service experience. In addition, we plan to explore the application of learning algorithms and machine learning techniques to improve decision-making processes for SPs. By leveraging machine learning models, we can better predict user behavior, optimize resource allocation, and refine pricing strategies in real time. These techniques will enable SPs to adapt to dynamic market conditions and customer preferences more effectively, offering a significant advantage in competitive environments. This approach will also allow for the continuous improvement of SPs’ strategies by learning from past interactions and adjusting in response to new data.

Author Contributions

Conceptualization, S.H., R.E.-A. and M.D.; methodology, S.H., R.E.-A. and M.D.; software, S.H.; validation, R.E.-A., E.S. and M.D.; formal analysis, R.E.-A.; writing—original draft preparation, S.H.; writing—review and editing, R.E.-A. and M.D.; supervision, R.E.-A., E.S., H.E. and M.S.; funding acquisition, R.E.-A. and H.E. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially supported by the National Center for Scientific and Technical Research (CNRST), Morocco, and the SLIME project (43765TA), funded by PHC Toubkal 2020. Additionally, the authors acknowledge the financial support provided by Professor Elbiaze Halima during the internship of Samira Habli in LATECE, at the University of Quebec at Montreal (UQAM). The authors are grateful for their contributions.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.

Acknowledgments

The authors express their gratitude to the anonymous reviewers and the academic editor for their useful comments, suggestions, and observations aimed at improving the paper.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Appendix A.1

Proof of Theorem 1. 
We consider two resource types ( r , s ) , and we establish the existence of a Nash equilibrium. The utility function defined in (19) is continuous, increasing, and concave. At the same time, the strategy space of each SP is convex and compact for the variables p k and w k r , k K , r R .
Then, we have
U k ( p , w ) p k = d 0 2 b k p k + j k j K b k j p j j k j K β k j q j + β k + b k r R ζ r c l o u d h k r q k ^
U k ( p , w ) w k r = 1 w k r ( W r ) 2 ζ r c l o u d δ k r C r , with w k r = W r w k r
2 U k ( p , w ) p k 2 = 2 b k , k K
2 U k ( p , w ) p k p j = b k j , j k
2 U k ( p , w ) 2 w k r = 2 w k r ( W r ) 3 ζ r c l o u d δ k r C r , k K , r R
2 U k ( p , w ) w k r p k = 2 U k p k w k r = 0 , k K , r R
Similarly, we can conclude the derivatives for U j , j K . We have 2 U k p k 2 = 2 b k < 0 and 2 U k 2 w k r = 2 w k r ( W r ) 3 ζ r c l o u d δ k r C r < 0 ; this shows that the utility is concave in ( p k , w k ) ; the utility of each player is concave in its decisions and the action set is compact; thus, the existence of Nash equilibrium follows from Thm. 1 (Rosen, 1965). □

Appendix A.2

Proof of Theorem 2. 
Define H r N r + N r T , where N is a square 2 K × 2 K matrix, defined as follows:
[ N r ] i , j = 2 U k p j p k , [ N r ] i + K , j + K = 2 U k w j r w k r , k , j K .
By the diagonal strict concavity theorem (Rosen, 1965), it suffices to show H r 0 for each resource type r R . The elements of the Hessian matrix N of utility profiles U = [ U 1 , , U K ] are given by
2 U k p j p k = 2 b k if j = k b k j if j k ,
2 U k w j r w k r = 2 w i r ( W r ) 3 ζ r c l o u d δ k r C r if j = k ( w k r w i r ) ( W r ) 3 ζ r c l o u d δ k r C r if j k
and
2 U k p j w k r = 2 U k w j r p k = 0 , k , j K .
Hence,
H r = Q 0 0 P
where Q and P are K × K matrices, defined as follows:
Q = 4 b 1 b 1 K + b K 1 b K 1 + b 1 K 4 b K ,
and
P = ζ r c l o u d C r ( W r ) 3 . 4 w 1 r δ 1 r w 1 r w 1 r δ 1 r + w K r w K r δ K r w K r w K r δ K r + w 1 r w 1 r δ 1 r 4 w K r δ K r
Under Assumption 1, we have
j k , j K ( b k j + c j k ) 4 b k , k K .
Applying Lemma 1, the matrix Q is negative definite. Now, we show that the matrix P is also negative definite. For any z R N { 0 } ,
δ r ( W r ) 3 z T P z ζ r c l o u d C r = j = 1 N 4 w j r z j 2 + 2 w j r w j r z j k j z k
= j = 1 N 4 W r w j r z j 2 + 2 2 w j r W r z j k j z k
= 2 W r i = 1 N z k 2 2 W r i = 1 N k = 1 N z k z k + 4 i = 1 N k = 1 N w k r z k z k
= 2 j = 1 N w j r i = 1 N z k 2 + i = 1 N z k 2 2 z j i = 1 N z k
= 2 j = 1 N w j r i j z k 2 + i j z k 2
< 0 ,
which shows that matrix H r is negative definite, and, according to the Rosen paper (Rosen, 1965), the game G ( p , w ) admits a unique Nash equilibrium.
Next, we shall determine the closed form of the unique Nash equilibrium p * and w * . We have
U k ( p ) p k = d 0 2 b k p k + β k + b k r R ζ r c l o u d h k r q ^ k + j k j K b k j p j j k j K β k j q ^ j = 0
It follows that
2 b k p k j k j K b k j p j = d 0 + β k + b k r R ζ r c l o u d h k r q ^ k j k j K β k j q ^ j
In other words, p k * is the unique solution to the previous linear equation (optimal condition). We can conclude that p * is a solution to the following linear system:
S · p = J
where k K , S k k = 2 b k , S k j = b k j for k j , and
J k = d 0 + β k + b k r R ζ r c l o u d h k r q ^ k j k j K β k j q ^ j .
Let us show that the linear system of equations in p admits a unique solution, meaning a unique Nash equilibrium exists. To do so, we have
S = 2 b 1 b 1 2 b 1 K b 2 1 2 b 2 b 2 K b K 1 b K 2 2 b K = A ( I V ) ,
where I denotes the identity matrix,
A = ( 2 b 1 , , 2 b K ) ,
and , V = 0 b 1 2 2 b 1 b 1 K 2 b 1 b 2 1 2 b 2 0 b 2 K 2 b 2 b K 1 2 b K b K 2 2 b K 0
Under Assumption 1, we note that matrix V is sub-stochastic as j K , j k b k j 2 b k < 1 . Thus, S is invertible, with S 1 = A 1 ( I V ) 1 , and k K :
p k * ( q ^ ) = S kk 1 β k + b k r R ζ r c l o u d h k r j k j K S kj 1 β j k q ^ k + j = 1 K S kj 1 d 0 + j k S kj 1 β j + b j r R ζ r c l o u d h j r l k l K S kl 1 β l j q ^ j
This completes the derivation of the closed form of the equilibrium price vector. For the closed form of the bidding, as the Nash equilibrium is unique, it is sufficient to show that the bidding w * is given by (24). The KKT condition of the bidding is given by
1 W r w k r ( W r ) 2 ζ r c l o u d C r δ k r = 0 , if w k r > 0 0 , if w k r = 0
Now, let us show that the solution w * given by (24) satisfies the KKT conditions (A25). We have
W r * ( w k r ) * ( W r * ) 2 = ( K 1 ) ζ r c l o u d C r K δ r ( K 1 ) ζ r c l o u d C r K 2 δ r ( K 1 ) ζ r c l o u d C r K δ r 2 = δ r ζ r c l o u d C r
Thus,
( W r * ( w k r ) * ) ( W r * ) 2 ζ r c l o u d C r δ k r = 1
which shows that w * satisfies the KKT conditions (A25) and completes the proof of Theorem 2. □

Appendix A.3

Proof of Theorem 3. 
Since the matrix Q is negative definite, then, for any Nash equilibrium ( p , w ) of the game G ( p , w ) , p = p * , where p * is given by (23). So, it remains to show that bidding given by (25) is the unique Nash equilibrium. First, we can easily verify that the solution w * given by (25) satisfies the KKT conditions (A25), and then ( p * , w ) * is a Nash equilibrium of the game G ( p , w ) . Assume there is another Nash equilibrium w ¯ w * , which satisfies (25). Then, by the necessity of the KKT conditions (A25), there exists a set B B * such that w ¯ is given by (25) in which the set B * is replaced by B . Thus, to have positive biding, the set B satisfies the following condition
k B δ k r ( A 1 ) δ k r > 0 , k B
Since B B * and w * is Nash equilibrium, then there exists an SP k ^ such that k ^ B * and k ^ B . Hence, there exists an SP k ¯ B such that δ k ^ r δ k ¯ r . We have
k B { k ^ } δ k r B δ k ^ r = k B δ k r + δ k ^ r B δ k ^ r
= k B δ k r ( B 1 ) δ k ^ r
> k B δ k r ( B 1 ) δ k ¯ r
> 0
where the third inequality is due to the fact that δ k ^ r δ k ¯ r and the last inequality follows from (A28). Therefore, the SP k ^ can improve its utility by making a positive bidding, which shows that w ¯ is not a Nash equilibrium. □

Appendix A.4

Proof of Proposition 1. 
To show the uniqueness, just set δ ¯ k r = v k r δ r k , and the proof is similar to the proof of Theorem 3. For the second part of the theorem, if the price differentiation is chosen such that v k r δ r k = δ r , the KKT conditions (A25) become
v k r W r w k r ( W r ) 2 ζ r c l o u d C r δ k r = 0 , if w k r > 0 0 , if w k r = 0
Thus,
1 W r w k r ( W r ) 2 ζ r c l o u d C r δ r = 0 , if w k r > 0 0 , if w k r = 0
We obtain the same KKT conditions in the case where δ k r = δ r , and, therefore, the Nash equilibrium is given by (23) and (24). □

References

  1. Alraddady, S., Soh, B., AlZain, M. A., & Li, A. S. (2022). Fog computing: Strategies for optimal performance and cost effectiveness. Electronics, 11(21), 3597. [Google Scholar] [CrossRef]
  2. Amazon ec2 Instance Types. (n.d.). Amazon web services. Available online: https://aws.amazon.com/fr/ec2/instance-types/ (accessed on 27 November 2024).
  3. Bachiega, J., Costa, B., Carvalho, L. R., Rosa, M. J. F., & Araujo, A. (2023). Computational resource allocation in fog computing: A comprehensive survey. ACM Computing Surveys, 55(14s), 7. [Google Scholar] [CrossRef]
  4. Baslam, M., El-Azouzi, R., Sabir, E., & Echabbi, L. (2011, October 12–14). Market share game with adversarial Access providers: A neutral and a non-neutral network analysis. International Conference on Network Games, Control and Optimization (NETGCOOP 2011) (pp. 1–6), Paris, France. [Google Scholar]
  5. Bega, D., Gramaglia, M., Banchs, A., Sciancalepore, V., Samdanis, K., & Costa-Perez, X. (2017, May 1–4). Optimising 5G infrastructure markets: The business of network slicing. IEEE Infocom 2017-IEEE Conference on Computer Communications (pp. 1–9), Atlanta, GA, USA. [Google Scholar] [CrossRef]
  6. Bogucka, H., Kopras, B., Idzikowski, F., Bossy, B., & Kryszkiewicz, P. (2023). Green time-critical fog communication and computing. arXiv. [Google Scholar] [CrossRef]
  7. Bonomi, F., Milito, R., Zhu, J., & Addepalli, S. (2012, August 13). Fog computing and its role in the internet of things. First Edition of the MCC Workshop on Mobile Cloud Computing (pp. 13–16), Helsinki, Finland. [Google Scholar] [CrossRef]
  8. El-Azouzi, R., Altman, E., & Wynter, L. (2003). Telecommunications network equilibrium with price and quality-of-service characteristics. Teletraffic Science and Engineering, 5, 369–378. [Google Scholar] [CrossRef]
  9. Elsayed, A., Mohamed, K., & Harb, H. (2023). Enhanced traffic congestion management with fog computing: A simulation-based investigation using ifog-simulator. arXiv. [Google Scholar] [CrossRef]
  10. Habli, S., Datar, M., El-Azouzi, R., & Sabir, E. (2023, June 19–23). Telco market dynamics under strategic pricing and multi-attribute QoS within cloud facilities. 2023 International Wireless Communications and Mobile Computing (IWCMC) (pp. 644–649), Marrakesh, Morocco. [Google Scholar] [CrossRef]
  11. Horn, R. A., & Johnson, C. R. (2012). Matrix analysis. Cambridge University Press. [Google Scholar]
  12. Jie, Y., Guo, C., Choo, K.-K. R., Liu, C. Z., & Li, M. (2020). Game-theoretic resource allocation for fog-based industrial internet of things environment. IEEE Internet of Things Journal, 7(4), 3041–3052. [Google Scholar] [CrossRef]
  13. Jie, Y., Li, M., Guo, C., & Chen, L. (2019). Game-theoretic online resource allocation scheme on fog computing for mobile multimedia users. China Communications, 16(3), 22–31. [Google Scholar] [CrossRef]
  14. Kelly, F. (1997). Charging and rate control for elastic traffic. European Transactions on Telecommunications, 8(1), 33–37. [Google Scholar] [CrossRef]
  15. Khan, S., Parkinson, S., & Qin, Y. (2017). Fog computing security: A review of current applications and security solutions. Journal of Cloud Computing, 6(1), 19. [Google Scholar] [CrossRef]
  16. Krishnan, S., Elmore, A. J., Franklin, M., Paparrizos, J., Shang, Z., Dziedzic, A., & Liu, R. (2019). Artificial intelligence in resource-constrained and shared environments. SIGOPS Operating Systems Review, 53(1), 1–6. [Google Scholar] [CrossRef]
  17. Losada, M., Cortés, A., Irizar, A., Cejudo, J., & Pérez, A. (2021). A flexible fog computing design for low-power consumption and low latency applications. Electronics, 10(1), 57. [Google Scholar] [CrossRef]
  18. Luong, N. C., Wang, P., Niyato, D., Wen, Y., & Han, Z. (2017). Resource management in cloud networking using economic analysis and pricing models: A survey. IEEE Communications Surveys Tutorials, 19(2), 954–1001. [Google Scholar] [CrossRef]
  19. Nadeem, M. A., & Saeed, M. A. (2016, August 24–26). Fog computing: An emerging paradigm. 2016 Sixth International Conference on Innovative Computing Technology (INTECH) (pp. 83–86), Dublin, Ireland. [Google Scholar] [CrossRef]
  20. Nguyen, D. T., Le, L. B., & Bhargava, V. K. (2019). A market-based framework for multi-resource allocation in fog computing. IEEE/ACM Transactions on Networking, 27(3), 1151–1164. [Google Scholar] [CrossRef]
  21. Rosen, J. B. (1965). Existence and uniqueness of equilibrium points for concave n-person games. Econometrica: Journal of the Econometric Society, 1965, 520–534. [Google Scholar] [CrossRef]
  22. Samara, G., Rasmi, M., Sweerky, N. A., Daoud, E. A., & Salem, A. A. (2021, December 21–23). Improving VANET’s performance by incorporated fog-cloud layer (FCL). 2021 22nd International Arab Conference on Information Technology (ACIT) (pp. 1–5), Muscat, Oman. [Google Scholar] [CrossRef]
  23. Sun, X., Le, T. N., Chowdhury, M., & Liu, Z. (2019). Fair allocation of heterogeneous and interchangeableresources. SIGMETRICS Performance Evaluation Review, 46(2), 21–23. [Google Scholar] [CrossRef]
  24. Yi, S., Li, C., & Li, Q. (2015, June 21). A survey of fog computing: Concepts, applications and issues. 2015 Workshop on Mobile Big Data (pp. 37–42), Hangzhou, China. [Google Scholar] [CrossRef]
  25. Zhang, P., Zhou, M., & Fortino, G. (2018). Security and trust issues in Fog computing: A survey. Future Generation Computer Systems, 88, 16–27. [Google Scholar] [CrossRef]
Figure 1. System architecture among SPs, their end-users, edge, and cloud computing.
Figure 1. System architecture among SPs, their end-users, edge, and cloud computing.
Games 16 00020 g001
Figure 2. The impact of b 2 on demand, price, utility, and market share for S P 1 and S P 2 . (a) Demand. (b) Price. (c) Utility. (d) Market share. SPs support r4.8xlarge and r4.16xlarge, respectively.
Figure 2. The impact of b 2 on demand, price, utility, and market share for S P 1 and S P 2 . (a) Demand. (b) Price. (c) Utility. (d) Market share. SPs support r4.8xlarge and r4.16xlarge, respectively.
Games 16 00020 g002
Figure 3. The impact of q 2 on demand, price, utility, and market share for S P 1 and S P 2 . SPs support r4.8xlarge and r4.16xlarge, respectively. (a) Demand. (b) Price. (c) Utility. (d) Market share.
Figure 3. The impact of q 2 on demand, price, utility, and market share for S P 1 and S P 2 . SPs support r4.8xlarge and r4.16xlarge, respectively. (a) Demand. (b) Price. (c) Utility. (d) Market share.
Games 16 00020 g003
Figure 4. The impact of b 2 on demand, price, utility, and market share with S P 1 , S P 2 , and S P 3 . SPs support r4.8xlarge, c5.18xlarge, and r4.16xlarge, respectively. (a) Demand. (b) Price. (c) Utility. (d) Market share.
Figure 4. The impact of b 2 on demand, price, utility, and market share with S P 1 , S P 2 , and S P 3 . SPs support r4.8xlarge, c5.18xlarge, and r4.16xlarge, respectively. (a) Demand. (b) Price. (c) Utility. (d) Market share.
Games 16 00020 g004
Figure 5. The impact of q 2 on demand, price, utility, and market share with S P 1 , S P 2 , and S P 3 . SPs support r4.8xlarge, c5.18xlarge, and r4.16xlarge, respectively. (a) Demand. (b) Price. (c) Utility. (d) Market share.
Figure 5. The impact of q 2 on demand, price, utility, and market share with S P 1 , S P 2 , and S P 3 . SPs support r4.8xlarge, c5.18xlarge, and r4.16xlarge, respectively. (a) Demand. (b) Price. (c) Utility. (d) Market share.
Games 16 00020 g005
Figure 6. The impact of h ¯ 1 R A M on bidding and price per unit resource ζ r f o g , with S P 1 , S P 2 , and S P 3 . SPs support r4.8xlarge, c5.18xlarge, and r4.16xlarge, respectively. (a) Bidding. (b) Price per unit resource ζ r f o g .
Figure 6. The impact of h ¯ 1 R A M on bidding and price per unit resource ζ r f o g , with S P 1 , S P 2 , and S P 3 . SPs support r4.8xlarge, c5.18xlarge, and r4.16xlarge, respectively. (a) Bidding. (b) Price per unit resource ζ r f o g .
Games 16 00020 g006
Table 1. Comparison of existing work on SP competition and resource allocation.
Table 1. Comparison of existing work on SP competition and resource allocation.
StudyFocus AreaMethodologyKey Contributions
(Nguyen et al., 2019)Resource Allocation in FCGame TheoryIntroduced a game-theoretic model for competitive resource allocation in fog computing environments.
(Luong et al., 2017)Pricing StrategiesNon-Cooperative Game TheoryExamined pricing and Quality of Service (QoS) strategies for Service Providers SPs competing in cloud and fog markets.
(Baslam et al., 2011)Fair Resource AllocationNash EquilibriumInvestigated fairness in resource allocation among SPs using Nash equilibrium concepts.
(Habli et al., 2023)Pricing and QoSPricing Strategy ModelsAnalyzed pricing and QoS decisions in the telco market, including cloud computing services.
(Nadeem & Saeed, 2016)Fog Computing (FC)Technological FrameworkDescribed Fog Computing as a complement to cloud computing, providing faster data processing and lower latency by bringing computing closer to the edge.
(Krishnan et al., 2019)AI in Resource AllocationAlgorithmic ApproachesDiscussed the use of artificial intelligence for analyzing and generating useful information to optimize user experience in applications.
(Zhang et al., 2018)Fog Computing in Smart CitiesSystem DesignExplored how fog computing supports smart city applications by reducing latency and improving real-time decision-making for urban management.
(Bonomi et al., 2012)Latency in Fog ComputingEmpirical AnalysisInvestigated the challenges of reducing latency in fog computing networks, offering insights into performance improvements.
(Losada et al., 2021)Energy Efficiency in Fog ComputingOptimization ModelsAddressed energy consumption issues in fog computing and proposed optimization models to enhance energy efficiency in resource allocation.
(Elsayed et al., 2023)Fog Computing in Intelligent TransportationCase StudyShowed how fog computing improves traffic flow and congestion management by processing data closer to their source.
(Alraddady et al., 2022)Performance in Fog Computing NetworksExperimental AnalysisExamined the impact of fog computing on performance, focusing on reduced data transmission and resource optimization.
(Bogucka et al., 2023)Real-Time Applications in FogModel DevelopmentDeveloped models for real-time applications in autonomous vehicles, emphasizing fog computing’s role in meeting stringent time constraints.
(Bachiega et al., 2023)Resource Constraints in Fog ComputingTheoretical AnalysisAnalyzed the resource constraints in fog computing and proposed methods to address the heterogeneity of resources in fog environments.
Our workSP Competition in fog–cloud environmentNon-Cooperative Game TheoryInvestigated SPs’ competition in resource allocation, addressing QoS and market dynamics under resource constraints. Focused on the impact of price differentiation for fairer fog resource distribution.
Table 2. Main notations used in this paper.
Table 2. Main notations used in this paper.
K set of SPs.
InPInfrastructure Provider
R set of resources available in the InP.
p vector of prices SPs charge for their services.
p k vector price of all SPs except SP k.
q vector of QoS offered by the SPs.
C r capacity of resource type r.
x k r total amount of resource type r allocated from the InP to SP k, k K , r R .
x ¯ k r amount of resource type r allocated from the fog to SP k, k K , r R .
x ˜ k r amount of resources allocated from the cloud to SP k, k K .
h k r minimum amount of resource type r SP k needs from the cloud to provide a unit service rate.
h ¯ k r minimum amount of resource type r SP k needs from the fog to provide a unit service rate.
x k vector of total resources SP k needs from the InP.
x ¯ k vector of resources SP k needs from the fog.
x ˜ k vector of resources SP k needs from the cloud.
f r ( p , w ) cost for utilizing a resource type r from the InP.
w k r bidding of SP k for resource type r.
w k r = W r w k r .
w k vector of bids of SP k to request resources from the fog.
W r sum of the bidding of all SPs for resource type r.
ζ r c l o u d price per unit of each resource type r each SP pays to the cloud.
ζ r f o g price per unit of each resource type r SP k pays to the fog.
Table 3. API instances from Amazon EC2.
Table 3. API instances from Amazon EC2.
API NameBandwidth (BW) (Gbps)Central Processing Unit (CPU)Memory (RAM) (GB)Instance Type
r4.8xlarge10.0032.00244.00Memory optimized
c5.18xlarge25.0072.00144.00Compute-optimized
r4.16xlarge25.0064.00488.00Memory optimized
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Habli, S.; El-Azouzi, R.; Sabir, E.; Datar, M.; Elbiaze, H.; Sadik, M. Two-Tier Marketplace with Multi-Resource Bidding and Strategic Pricing for Multi-QoS Services. Games 2025, 16, 20. https://doi.org/10.3390/g16020020

AMA Style

Habli S, El-Azouzi R, Sabir E, Datar M, Elbiaze H, Sadik M. Two-Tier Marketplace with Multi-Resource Bidding and Strategic Pricing for Multi-QoS Services. Games. 2025; 16(2):20. https://doi.org/10.3390/g16020020

Chicago/Turabian Style

Habli, Samira, Rachid El-Azouzi, Essaid Sabir, Mandar Datar, Halima Elbiaze, and Mohammed Sadik. 2025. "Two-Tier Marketplace with Multi-Resource Bidding and Strategic Pricing for Multi-QoS Services" Games 16, no. 2: 20. https://doi.org/10.3390/g16020020

APA Style

Habli, S., El-Azouzi, R., Sabir, E., Datar, M., Elbiaze, H., & Sadik, M. (2025). Two-Tier Marketplace with Multi-Resource Bidding and Strategic Pricing for Multi-QoS Services. Games, 16(2), 20. https://doi.org/10.3390/g16020020

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop