Resource allocation brokering in nested containers
First Claim
1. A machine-implemented method comprising:
- sending, from a first broker process executing within a first container to a first client process executing within a second container, a first notice that a first plurality of computing resources will be removed,wherein the first container is a virtual machine associated with the first plurality of computing resources,wherein the second container is an operating system (OS) associated with a second plurality of computing resources,wherein the first plurality of computing resources comprises the second plurality of computing resources, andwherein the second container is within the first container;
instructing, by the first client process in response to receiving the first notice, a second broker process executing within the second container, to send a second notice to a second client process executing within a third container, wherein the second notice comprises the first notice; and
sending, from the second broker process in response to the instructing, the second notice to the second client process,wherein the third container is a project associated with a third plurality of computing resources,wherein the second plurality of computing resources comprises the third plurality of computing resources, andwherein the third container is within the second container; and
invoking, by the second client process in response to receiving the second notice, a graceful termination mechanism of the third container,wherein the first notice instructs the first client process that the first broker process has deallocated, from the second container, one or more of the second plurality of computing resources, andwherein the first broker process provides the first notice to the first client process in response to the first broker process detecting that the first plurality of computing resources will be removed.
2 Assignments
0 Petitions
Accused Products
Abstract
In accordance with one embodiment of the present invention, there is provided a technique for resource allocation brokering in nested containers. According to one aspect, a broker mechanism is established within a first container. A second container also is established within the first container. The second container has a client mechanism. The first container'"'"'s broker mechanism communicates with the second container'"'"'s client mechanism to provide notices to the second container'"'"'s client mechanism. The second container also has a broker mechanism that may or may not be a part of the second container'"'"'s client mechanism. A third container is established within the second container. The third container also has a client mechanism. The second container'"'"'s broker mechanism communicates with the third container'"'"'s client mechanism to provide notices to the third container'"'"'s client mechanism. Thus, communications are facilitated between higher-level containers and lower-level containers in a hierarchy of nested containers.
-
Citations
24 Claims
-
1. A machine-implemented method comprising:
-
sending, from a first broker process executing within a first container to a first client process executing within a second container, a first notice that a first plurality of computing resources will be removed, wherein the first container is a virtual machine associated with the first plurality of computing resources, wherein the second container is an operating system (OS) associated with a second plurality of computing resources, wherein the first plurality of computing resources comprises the second plurality of computing resources, and wherein the second container is within the first container; instructing, by the first client process in response to receiving the first notice, a second broker process executing within the second container, to send a second notice to a second client process executing within a third container, wherein the second notice comprises the first notice; and sending, from the second broker process in response to the instructing, the second notice to the second client process, wherein the third container is a project associated with a third plurality of computing resources, wherein the second plurality of computing resources comprises the third plurality of computing resources, and wherein the third container is within the second container; and invoking, by the second client process in response to receiving the second notice, a graceful termination mechanism of the third container, wherein the first notice instructs the first client process that the first broker process has deallocated, from the second container, one or more of the second plurality of computing resources, and wherein the first broker process provides the first notice to the first client process in response to the first broker process detecting that the first plurality of computing resources will be removed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-storage medium storing one or more sequences of instructions, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
sending, from a first broker process executing within a first container to a first client process executing within a second container, a first notice that a first plurality of computing resources will be removed, wherein the first container is a virtual machine associated with the first plurality of computing resources, wherein the second container is an operating system (OS) associated with a second plurality of computing resources, wherein the first plurality of computing resources comprises the second plurality of computing resources, and wherein the second container is within the first container; instructing, by the first client process in response to receiving the first notice, a second broker process executing within the second container, to send a second notice to a second client process executing within a third container, wherein the second notice comprises the first notice; and sending, from the second broker process in response to the instructing, the second notice to the second client process, wherein the third container is a project associated with a third plurality of computing resources, wherein the second plurality of computing resources comprises the third plurality of computing resources, and wherein the third container is within the second container; and invoking, by the second client process in response to receiving the second notice, a graceful termination mechanism of the third container, wherein the first notice instructs the first client process that the first broker process has deallocated, to the second container, one or more of the second plurality of computing resources, and wherein the first broker process provides the first notice to the first client process in response to the first broker process detecting that the first plurality of computing resources will be removed. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus comprising:
-
a processor; a first container comprising a first broker process executing within the first container, wherein the first container is a virtual machine associated with a first plurality of computing resources; a second container within the first container, comprising; a first client process executing within the second container, wherein the first broker process communicates with the first client process to provide a first notice to the first client process that the first plurality of computing resources will be removed, and a second broker process executing within the second container, wherein the first client process is configured to instruct the second broker process to send a second notice to a second client process, wherein the second notice comprises the first notice, wherein the second container is an operating system (OS) associated with a second plurality of computing resources; and a third container within the second container comprising; the second client process executing within the third container, wherein the second broker process communicates with the second client process to provide the second notice to the second client process, wherein the third container is a project associated with a third plurality of computing resources, wherein the first plurality of computing resources comprises the second plurality of computing resources, wherein the second plurality of computing resources comprises the third plurality of computing resources, and wherein the third container is executing on the processor, wherein in response to receiving the second notice, the second client process invokes a graceful termination mechanism of the third container, wherein the first notice instructs the first client process that the first broker process has deallocated, from the second container, one or more of the second plurality of computing resources, and wherein the first broker process provides the first notice to the first client process in response to the first broker process detecting that the first plurality of computing resources will be removed. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification