Patent ID: 8943223
Filing Date: 2015-01-27
Classification: H04L

Abstract:
1. An adaptive session compression manager in an application server, comprising: a session state information buffer component for buffering session state information from a session manager of the application server when the session state information is indicated as needing to be saved, wherein the session state information is transferred from the session manager to the session state information buffer component through an interface between the session manager and the session state information buffer component; a configuration information acquiring component for acquiring configuration information set by a user or system administrator of the application server from a configuration file, the configuration information comprising compression thresholds, compressors, compression methods for the compressors as a function of CPU utilization, and compression methods for the compressors as a function of memory utilization, the compression methods comprising best compression, normal compression, fast compression, and no compression methods; a compression determining component for determining whether the session state information in the session state information buffer component needs to be compressed according to a size of the session state information and the configuration information related to the compression thresholds; a compression method determining component for determining a one of the compressors and selecting a one of the compression methods according to the conditions of at least the memory and the CPU of the application server in case that the session state information needs to be compressed, and instructing the determined compressor to compress the session state information according to the selected compression method in the case that the selected compression method is not the no compression method, wherein the compression method determining component is configured for performing the selecting of the one of the compression methods by identifying a first of the compression methods by comparing an amount of the CPU utilization to a first plurality of thresholds corresponding to each the compression methods, identifying a second of the compression methods by comparing an amount of the memory utilization to a second plurality of thresholds corresponding to each the compression methods, and determining the one of the compression methods to be a one of the first and the second compression methods providing a lowest compression performance.