Web Application Refactoring for Latency Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing network applications struggle to provide a rich and responsive user interface due to latency issues in web environments, making it difficult for developers to transition to rich internet applications without a steep learning curve and potential risks to application stability.

Innovation Solution

A method involving monitoring requests and responses in web-based applications to identify patterns, allowing for refactoring into rich internet applications by generating server and client components that utilize techniques like AJAX to update only necessary parts of web pages, reducing latency and improving responsiveness.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If AJAX and other rich internet application techniques are adopted to improve user interface responsiveness, then the responsiveness and user experience are improved, but the learning curve increases and application stability risks increase

Engineering Contradiction:
Improveuser interface responsivenessVSAvoiddeveloper learning curve
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The system automatically monitors existing web applications, identifies patterns in request-response cycles, and generates refactored versions with embedded client components without requiring manual developer intervention. The application refactors itself by analyzing its own operational patterns and transforming them into rich internet application code automatically.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system creates a profile of the existing web application's request-response patterns and generates refactored versions by copying and transforming these patterns into AJAX-based client components. The refactored application replicates the functional behavior of the original while incorporating rich internet application techniques.

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If complete re-architecting of existing web applications is performed to enable AJAX, then rich internet application capabilities are achieved, but implementation time and cost increase

Engineering Contradiction:
Improverich internet application capabilityVSAvoidimplementation time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system divides the web application into discrete request-response cycles and identifies specific patterns that can be refactored independently. Instead of re-architecting the entire application, it segments the codebase and applies AJAX transformations only to the necessary portions based on monitored usage patterns.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary monitoring and profiling of the web application's operational patterns before generating the refactored version. By analyzing request-response cycles in advance, the system identifies which components should be transformed into AJAX-based client components, enabling targeted refactoring rather than complete re-architecting.

Inventive Principle:
Principle #10Preliminary action

3Ease of manufacture

If traditional web page complete refresh is used, then implementation is simple, but network bandwidth consumption increases and user experience deteriorates

Engineering Contradiction:
Improveimplementation simplicityVSAvoidnetwork bandwidth consumption
Core Design Contradiction:
Ease of manufactureVSLoss of energy

Solution Approach 1:

The system extracts only the necessary dynamic content from the complete web page refresh process and transforms it into separate AJAX requests. By taking out the essential data update functionality from the full page reload, the system enables selective content updates that consume significantly less network bandwidth while maintaining implementation simplicity through automated pattern recognition.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS9497248B2System for enabling rich network applications
Publication Date: 2016.11.15 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9497248B2 patent drawing
  • US9497248B2 patent drawing
  • US9497248B2 patent drawing

AI summary

The present invention generally provides methods, systems and articles of manufacture that provide an autonomous system for enabling rich network applications. Embodiments of the invention may monitor an existing network application and generate a profile on the network application based on what responses and data updates are triggered by various requests from a user. Embodiments of the invention may refactor the existing network application into a rich network application based on the profile created for that network application.