Resource Request Management via Asynchronous to Synchronous Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In computing environments, managing asynchronous and synchronous requests for resources is challenging due to resource contention and leaks, particularly in operations like log stream offload where storage resources need to be allocated to prevent failures and ensure desirable functionality.
Innovation Solution
A method involving token management, where threads register interest in acquiring resources, convert asynchronous requests to synchronous if necessary, and track resource acquisition status to ensure successful allocation, using initiator, performer, and tracker threads to synchronize resource acquisition processes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If asynchronous resource requests are used to improve system responsiveness and throughput, then productivity increases, but resource leaks and contention issues worsen
Solution Approach 1:
The patent implements a feedback mechanism where the system monitors resource acquisition status and thread registration state. When a resource acquisition fails, the system automatically notifies registered threads and cleans up their registration state, preventing resource leaks while maintaining asynchronous operation efficiency.
Solution Approach 2:
The patent introduces an intermediary mechanism (token-based registration system) that mediates between asynchronous threads and resource acquisition. Threads register their interest through tokens without blocking, and the system manages the coordination between multiple threads and resource availability, resolving the contradiction between asynchronous throughput and reliable resource management.
2Reliability
If synchronous resource requests are used to ensure reliable resource acquisition, then reliability improves, but system responsiveness and throughput worsen
Solution Approach 1:
The patent applies preliminary action by having threads register their resource interest in advance through token registration before actually needing the resource. This allows the system to prepare and coordinate resource allocation beforehand, ensuring reliable acquisition when needed while maintaining asynchronous non-blocking operation that preserves throughput.
Solution Approach 2:
The patent implements dynamic resource request handling that adapts between asynchronous registration and synchronous acquisition based on resource availability. The system dynamically switches between non-blocking thread registration and blocking resource wait operations, optimizing both reliability and throughput by combining approaches rather than using one statically.
3Reliability
If multiple threads register interest in resource requests using tokens, then resource contention management improves, but system complexity increases
Solution Approach 1:
The patent makes the token structure universal and multi-functional, serving as both a registration mechanism, a notification channel, and a cleanup trigger. This single token system handles multiple aspects of resource contention management (thread registration, status tracking, automatic cleanup) reducing overall system complexity despite managing multiple threads.
Solution Approach 2:
The patent implements self-service through automatic token-based cleanup. When resource acquisition fails or succeeds, the system automatically notifies registered threads and cleans up their registration state without requiring manual intervention or complex coordination logic, simplifying the management of multiple thread registrations.
Data Source
AI summary
Embodiments of the present invention provide systems, methods, and computer program products for managing requests for acquiring one or more resources in a computing environment. In one embodiment, successful acquisition of the one or more resources is determined. Embodiments of the present invention provide systems, methods, and computer program products for initiating a synchronous request to acquire the one or more resources, responsive to determining that the acquisition of the one or more resources is not successful.


