Synchronized release of resources used in deferential cloud services
Abstract
A method is provided of using a set of servers to provide deferential services that have a pre-negotiated time for notice to release the servers. The method includes defining a virtual checkpoint frame interval that is constrained to a duration of up to half of the pre-negotiated time for notice to release the servers. The method includes collecting packets and transactions occurring during the interval that are processed by a current server. The method includes, responsive to an end of the interval, (i) writing, to a shared state database, a state of processing of the packets and transactions occurring during the interval, and (ii) releasing the packets and transactions occurring during the interval. The method includes copying the packets and transactions occurring during the interval, and the state, from the current server to another server for subsequent processing, responsive to an indication of an instance loss on the current server.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer program product for using a set of servers to provide deferential services that have a pre-negotiated time for notice to release the servers, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising: defining, by a deferential cloud service broker, a virtual checkpoint frame interval that is constrained to a duration of up to half of the pre-negotiated time for notice to release the servers; collecting, by a flow controller, packets and transactions occurring during the virtual checkpoint frame interval that are processed by a current one of the servers; responsive to an end of the virtual checkpoint frame interval, (i) writing, by the flow controller to a shared state database, a state of processing of the packets and transactions occurring during the virtual checkpoint frame interval, and (ii) releasing, by the flow controller, the packets and transactions occurring during the virtual checkpoint frame interval; and copying, by the flow controller, the packets and transactions occurring during the virtual checkpoint frame interval, and the state, from the current one of the servers to another one of the servers for subsequent processing, responsive to an indication of an instance loss on the current one of the servers.
- Claim 2Depends on #1
The computer program product of claim 1 , wherein the flow controller releases the packets and transactions responsive to (i) the end of the virtual checkpoint frame interval, and (ii) a release notification from a service scheduler.
- Claim 3Depends on #1
The computer program product of claim 1 , further comprising, defining, by the deferential cloud service broker using an obligation policy, a duration for the instance loss.
- Claim 4Depends on #3
The computer program product of claim 3 , further comprising countering, by a service scheduler to the deferential cloud service broker, with a different virtual checkpoint frame interval tailored to a particular one of the deferential services, in place of the virtual checkpoint frame interval.
- Claim 5Depends on #4
The computer program product of claim 4 , further comprising selectively accepting or rejecting, by the deferential cloud service broker, the different virtual checkpoint frame interval countered by the service scheduler.
- Claim 6Depends on #1
The computer program product of claim 1 , wherein the deferential cloud service broker uses an obligation policy to assign resources in pairs or multiples while constraining resource release to a single resource at a time to allow for a gradual compression of the deferential services.
- Claim 7Depends on #6
The computer program product of claim 6 , wherein the deferential cloud service broker uses a pair-wise instance assignment such that responsive to receiving a pre-empt instance signal for pre-empting a first instance in an instance pair, the method further comprises switching to a second instance in the instance pair without incurring any latency.
- Claim 8Independent Claim
A system for using a set of servers to provide deferential services that have a pre-negotiated time for notice to release the servers, the system comprising: a deferential cloud service broker for defining a virtual checkpoint frame interval that is constrained to a duration of up to half of the pre-negotiated time for notice to release the servers; a flow controller for (a) collecting packets and transactions occurring during the virtual checkpoint frame interval that are processed by a current one of the servers, and (b) responsive to an end of the virtual checkpoint frame interval, (i) writing, to a shared state database, a state of processing of the packets and transactions occurring during the virtual checkpoint frame interval, and (ii) releasing the packe
Technical Overview & Description
BACKGROUND Technical Field The present invention relates generally to cloud services and, in particular, to synchronized release of resources used in deferential cloud services. Description of the Related Art In a bare-metal cloud environment, a set of servers are provided for rental to the customers as needed. In order to deal with customer demands, the provider of such a cloud environment always needs to maintain a surplus number of servers. Invariably, at any time, there are servers which are excess, i.e., not being used by a paying customer. These cloud providers would like to make money off the excess servers by running services on them. The current procedure followed by cloud operators offer time-based solutions that make resources available to the consumer within a predefined and agreed to time-window at the end of which the cloud operator can reclaim the resources. This approach puts the burden on the service operator to design its service and allocate its resources such that the service execution can complete prior to releasing the resource used by the “dying” service. This approach adds complexity to the service design. It also requires pre-planning and a human in the loop in order to mitigate against potential losses and degradation in performance by the service provider when the cloud operator reclaims the assigned resources. Further, it only applies to request driven services where the service provider does not need to carry the context from interrupted operation and can guaranty completion of the operation in the allocated time window. For continual services, the current prior art assumes changes in workload and incorporates elasticity to scale up and down based on workload increases or decreases over time and uses a predefined workload threshold to trigger increases or decreases in resource allocation. In contrast, deferential services require that the service provider must be able to shrink its footprint of assigned reso
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (17)
Non-Patent Literature (1)
- List of IBM Patents or Patent Applications Treated as Related dated Nov. 8, 2017, 2 pages.