Stub domain for request servicing
First Claim
1. A computer-implemented method for suspending a guest computing system while waiting for a response to a request and for reclaiming computer system memory from the guest computing system while waiting for the response, comprising:
- under the control of one or more computer systems configured with executable instructions,issuing the request from the guest computing system to a second computing system that is configured to at least receive and respond to the request;
as a result of determining the response to the request will take a length of time greater than a threshold length of time, at least;
constructing a listener stub configured to at least receive the response and comprising at least;
a handling plan that at least includes a set of instructions for receiving the response; and
a listener socket configured to at least receive a network communication from the second computing system;
transferring the listener stub to a stub domain;
suspending the guest computing system; and
reclaiming at least a portion of the computer system memory from the guest computing system; and
as a result of the listener stub receiving the response from the second computing system, at least;
executing one or more of the instructions in the handling plan according to the response received;
restoring the guest computing system; and
forwarding the response from the stub domain to the guest computing system.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for reclaiming resources from guest computing systems while those systems are waiting for responses to requests in virtualized and/or distributed computer systems are described herein. At a time after issuing a request and determining that the response will take longer than a threshold length of time, one or more computer system entities within a computer system invoke one or more computer system capabilities to at least instantiate a listener object, transfer the listener object to another system domain, suspend the guest computing system and reclaim resources from the suspended guest computing system. When the response is returned to the listener object, the guest computer system is restored and the response is forwarded to the restored guest. While the guest computing system is suspended, the reclaimed resources are made available to other computer system entities.
-
Citations
24 Claims
-
1. A computer-implemented method for suspending a guest computing system while waiting for a response to a request and for reclaiming computer system memory from the guest computing system while waiting for the response, comprising:
under the control of one or more computer systems configured with executable instructions, issuing the request from the guest computing system to a second computing system that is configured to at least receive and respond to the request; as a result of determining the response to the request will take a length of time greater than a threshold length of time, at least; constructing a listener stub configured to at least receive the response and comprising at least; a handling plan that at least includes a set of instructions for receiving the response; and a listener socket configured to at least receive a network communication from the second computing system; transferring the listener stub to a stub domain; suspending the guest computing system; and reclaiming at least a portion of the computer system memory from the guest computing system; and as a result of the listener stub receiving the response from the second computing system, at least; executing one or more of the instructions in the handling plan according to the response received; restoring the guest computing system; and forwarding the response from the stub domain to the guest computing system. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A computer system, comprising:
-
one or more processors; and memory including executable instructions that, when executed by the one or more processors, cause the computer system that is waiting for a response to a request issued by a guest computing system in a first domain of a virtualization environment, to at least; as a result of determining the response to the request will take a length of time greater than a threshold length of time; transfer a listener stub configured to at least receive the response to a stub domain of the virtualization environment, the listener stub comprising a listener socket; suspend the guest computing system; and reclaim resources from the guest computing system, the resources including computer system memory; and as a result of the listener stub receiving at least a portion of the response, resulting in a received response, cause the listener stub to at least; restore the guest computing system; and forward the response to the guest computing system. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer-readable storage medium having collectively stored thereon executable instructions that, when executed by one or more processors of a computer system, cause the computer system to at least:
-
as a result of determining a response to a request will take a length of time greater than a threshold length of time, cause a guest computing system in first domain of a virtualization environment to wait for the response by at least; transferring, to a stub domain of the virtualization environment, a listener stub configured to at least receive the response, the listener stub comprising a listener socket; and reclaiming resources from the guest computing system, the resources comprising computer system memory; and as a result of the listener stub receiving at least a portion of the response, cause the listener stub to process the response by; restoring resources to the guest computing system; and forwarding the response to the guest computing system. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification