Application Execution Environment Service Request Pre-fetching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In service-oriented architectures, applications often experience delayed response times due to the need to wait for responses from external services, which can hinder execution efficiency, especially in scenarios where multiple service requests are made during processing.
Innovation Solution
The method involves creating and utilizing supplementary information within the application execution environment to pre-emptively perform service requests independently of the application's execution, allowing the environment to retrieve necessary data and store responses, which are then provided to the application when needed, thereby reducing wait times and improving response efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If the application waits for responses from external services during execution, then the application can obtain necessary information, but the response time is delayed and execution efficiency is hindered
Solution Approach 1:
The application execution environment performs service requests in advance before the application actually needs the responses. The environment retrieves supplementary information indicating service requests to be performed, executes these requests independently from the application's main execution flow, and stores the responses for later use when the application requests them.
2Loss of time
If the application execution environment performs service requests independently in advance, then response time is reduced, but the complexity of the execution environment increases
Solution Approach 1:
The application execution environment acts as an intermediary between the application and external services. It retrieves supplementary information that indicates service requests, performs these requests independently, stores responses, and provides them to the application when needed, thereby managing the complexity internally while presenting a simplified interface to the application.
3Loss of information
If multiple service requests are made during application processing, then the application can obtain comprehensive information, but the cumulative wait time increases significantly
Solution Approach 1:
The execution environment retrieves supplementary information indicating multiple service requests to be performed during application execution. It proactively executes these requests in advance independently from the application's main flow, storing all responses for later provision to the application, thereby eliminating cumulative wait times while ensuring complete information is available.
Data Source
AI summary
Computer-implemented methods are provided for preparing an application for execution within an application execution environment and for running an application within an application execution environment. The computer-implemented methods create supplementary information for the application. The supplementary information includes an indication of a service request which is to be performed during execution of the application to obtain information from an application service. The computer-implemented methods retrieve the supplementary information for the application, and execute the application within the application execution environment. The methods perform the service request from the application execution environment independently from the execution of the application based on the supplementary information, and receive a response to the service request from the application service at the application execution environment. The method provides the response from the application execution environment to the application in response to a request from the application to perform the service request.


