Adaptive Web Service Compression Threshold
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing web service compression methods are not optimal for small data transmissions, as they may increase response time due to added compression time, and impose unnecessary compression overhead, which is not beneficial for small data sizes.
Innovation Solution
Implement adaptive compression management by determining a data size threshold based on network performance statistics, such as round-trip time, to decide whether to compress data, thereby conserving computing resources and reducing transmission times.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If compression is applied to all SOAP packets, then network bandwidth utilization is improved, but response time increases for small data transmissions
Solution Approach 1:
The patent applies different compression strategies to different data sizes. Small data packets (below threshold) are transmitted without compression, while large data packets (above threshold) are compressed. This local differentiation resolves the contradiction by optimizing for speed when data is small and for bandwidth efficiency when data is large.
Solution Approach 2:
The system dynamically determines a compression threshold parameter based on data size, and changes the compression application parameter accordingly. When data size exceeds the threshold, compression is enabled; otherwise, it is disabled. This parameter-based decision-making resolves the contradiction adaptively.
2Quantity of substance
If compression is applied to small data, then data size is reduced, but compression overhead increases processing time
Solution Approach 1:
The patent extracts the compression operation from being universally applied and removes it specifically for small data packets. By taking out the compression step for small data, the system avoids the harmful compression overhead while still applying compression where it provides benefit (large data packets).
Solution Approach 2:
Instead of applying compression to all data (excessive action), the patent applies compression only partially - specifically to data packets that exceed the determined threshold. This partial application of compression avoids unnecessary processing overhead for small packets while maintaining bandwidth efficiency for large packets.
Data Source
AI summary
Embodiments of methods, systems, and apparatuses for adaptive compression management for web services are presented. In an embodiment, a method may include receiving a request for a web-service data operation. The method may also include identifying, using a data processing device, a network performance statistic for characterizing a data link between a web server and a web client. Additionally, the method may include determining, using the data processing device, a data size threshold in response to the network performance statistic. The method may also include determining, using the data processing device, whether to compress data associated with the web-service operation in response to the data size threshold.


