Nested Container Resource Brokerage for Graceful Shutdown
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current systems lack effective communication and resource management between nested containers, leading to ungraceful termination of processes and lack of awareness for resource changes, resulting in potential service disruptions and data loss.
Innovation Solution
Implementing a resource allocation brokering mechanism that facilitates communication between higher-level and lower-level containers, allowing for notifications of resource additions, removals, and allocations, enabling graceful termination and efficient resource management.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If hardware resources are removed or added, then system flexibility and adaptability are improved, but processes cannot satisfy service level objectives and may fail due to lack of awareness
Solution Approach 1:
The patent implements a feedback mechanism where the broker monitors resource changes in the hardware domain and automatically notifies affected clients in lower-level domains. This feedback loop ensures that processes are aware of resource modifications and can adjust accordingly, maintaining service level objectives while allowing system flexibility.
Solution Approach 2:
The broker acts as an intermediary layer between the hardware domain and application domains. It receives notifications of resource changes from the hardware domain, processes this information, and distributes appropriate notifications to affected clients in application domains, enabling reliable resource management without direct coupling between hardware and applications.
2Ease of operation
If a domain is removed from a complex computer, then hardware resource management is simplified, but operating systems and processes are instantly terminated ungracefully causing data loss
Solution Approach 1:
The broker implements preliminary action by notifying clients of impending resource removal before it occurs. When the hardware domain detects that a domain will be removed, it notifies the broker, which then propagates this notification down through the container hierarchy to all affected processes. This allows processes to perform graceful shutdown procedures, save data, and terminate properly before the hardware removal occurs.
3Ease of manufacture
If processes are started without awareness of available resources, then system startup is simplified, but processes cannot satisfy service level objectives when resources are removed
Solution Approach 1:
The system maintains simplicity during startup while ensuring reliability during operation through feedback. Processes start without needing to know about future resource changes (maintaining ease of startup), but the broker continuously monitors resource changes and notifies processes when they occur, allowing processes to maintain service level objectives throughout their lifecycle.
4Adaptability or versatility
If nested containers lack communication mechanisms, then container independence is maintained, but resource allocation and termination cannot be coordinated across container boundaries
Solution Approach 1:
The broker serves as an intermediary that enables coordination across container boundaries without compromising container independence. Each container maintains its isolation, but the broker intercepts and coordinates resource allocation requests and termination notifications across the nested container hierarchy, providing unified resource management while preserving container independence.
Data Source
AI summary
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.


