The currently trending paradigms of edge and fog computing attempt to provide services close to the end user, to meet the demands of latency-sensitive applications and to limit bandwidth consumption in the network core. One open issue is the pricing of edge and fog resources. Current pricing schemes are usually oligopolistic and not fair. In this work, we propose DMC, a marketplace that can dynamically determine the fair price for arbitrary resource types and instances based on supply and demand existing at that period. Unlike the state-of-the-art solutions, DMC performs integral allocation of resources and thereby avoids the unbounded integrality gap. Additionally, DMC provides differential pricing among instances to allow varying prices based on the perceived value of a resource. We evaluate DMC with both heavy and non-heavy tailed distributions to reflect diverse buying interests and the number of resources sold to demonstrate the feasibility of our solution for several realistic scenarios. We observe that (i) DMC arrives at market-clearing prices; (ii) DMC generates 10x to 100x more profit than state-of-the-art solutions, while still maximizing the Nash Social Welfare to achieve prices that are fair to both buyers and the resource providers; and (iii) the computation time for DMC does not exceed 10 seconds even in the case of 500 resource types with 500 buyers each, making it applicable for real-time use cases.
展开▼