Real-time hierarchical selection method of cloud agent for multi-cycle reserved instances
A multi-period and long-period technology, applied in the field of cloud computing, can solve the problems of not considering the price difference between real-time and reserved resources, the applicability of sudden changes is not strong, and the dynamics of demand cannot be reflected, so as to overcome inaccuracy, Overcoming non-real-time and maximizing benefits
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] Cloud proxy utilizing a single CSP instance is a base case of choice for cloud networking. Such as figure 1 The service provision mechanism of the cloud proxy is described. The cloud proxy multiplexes the dynamic needs of four users, and then provides real-time services to end users at a lower intermediate price by utilizing appropriate reservations and real-time VM instances.
[0047] Different users apply for real-time VM instances from time 1 to 6 (step 1). Agents try to rent resources from CSPs at the lowest price to satisfy user demands (step 2). CSP provides different instances with different prices and different periods τ. Real-time instances are billed at $1 per hour (billing cycle). For reserved instances, the price is a total price for τ billing cycles, which is generally lower than $τ. According to the quantity and duration of the total demand, the agent can make full use of the price advantage and reuse benefits of long-term reservation (step 3). This e...
Embodiment 2
[0050] The present invention assumes that a cloud agent can estimate the total demand in a rather long period T, for any t ∈ (1, T), the total demand at time t is d t . This assumption is reasonable because each user should have a plan for future demand, and total demand can be estimated from the user's plan or forecasted from historical records. Let L=max t (d t ) is the peak demand, then the demand d t into L layers. Define indicators Represents whether there is demand in layer l at time t, that is, if but Otherwise 0.
[0051] For example, figure 2 depicts a demand curve where {τ 0 ,τ 1 ,τ 2 ,τ 3}={1,3,6,10}, T=9. Because Tier 4 has no demand in billing cycle 3, so This billing cycle is referred to as an empty billing cycle. and It is because layer 5 has demand in billing cycle 5. In fact, every Corresponds to a small rectangular shadow block. If the corresponding rectangle lies below the curve, then Otherwise 0. obviously
[0052] Each layer...
Embodiment 3
[0057] Embodiment three, algorithm of the present invention:
[0058] Algorithm: real-time online algorithm
[0059] Enter: d t : The number of instances required to arrive at time t. τ 1 ,τ 2 ,...,τ J : respectively with incremental price c 1 ,c 2 ,...,c J of reserved instance periods
[0060] Output: A real-time resource allocation scheme
[0061] 1: for l=1,...,d t do
[0062] 2:a lj =0
[0063] 3: if there is already an instance to serve d t l or d t l=0then
[0064] 4:break
[0065] 5: end if
[0066] 6: For a period τ j (τ j ≤ T Rl ) instance, calculate a lj ,j=1,2,...,J. Obviously, a l1 ≤a l2 ≤...≤a lJ
[0067] 7: If j exists, making a lj ≥c j then
[0068] 8: i=max{j|a lj ≥c j}, reserve a layer with period τ in layer l i instance of
[0069] 9: else
[0070] 10: Select a real-time instance at layer l
[0071]11: end if
[0072] 12: end for
[0073] d t is the number of instances required to arrive at time t, so d t It is the maxi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com