Controlling persisting of data to disk
First Claim
1. An apparatus for controlling persisting of data to disk for use with a messaging system comprising an application operable for generating and sending a message to a destination, the apparatus comprising:
- a processor in communication with one or more types of memory, the processor configured to;
facilitate a comparator operable todetermine that the message comprises common data,determine that a performance benefit is gained by separating and persisting separately the common data and non-common data of the message, wherein a determination that the performance benefit is gained is made by determining a percentage of messages from the application comprising common data exceeds a predetermined threshold;
facilitate an extractor, responsive to a determination that the message comprises common data, configured to extract the common data and non-common data from the message and represent the non-common data located within the common data as variables comprising placeholders within the common data for each associated data item of the non-common data; and
facilitate a persistor operable to determine whether the common data have already been persisted to disk, wherein the persistor is operable, in response to a determination that the common data have not already been persisted to disk, to separately persist the common data and the non-common data represented by the variables to disk and wherein the persistor is operable, in response to a determination that the common data have already been persisted to disk, to persist the non-common data represented by the variables to disk, wherein the common data is persisted with a unique reference and the non-common data is persisted with the unique reference on a per message basis.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments relate to controlling persisting of data to disk for use with a messaging system including an application operable for generating and sending a message to a destination. An aspect is an apparatus, which includes a comparator operable to determine whether the message includes common data, and an extractor, responsive to a determination that the message includes common data, configured to extract the common data and non-common data from the message. The apparatus also includes a persistor operable to determine whether the common data have already been persisted to disk. The persistor is operable, in response to a determination that the common data have not already been persisted to disk, to separately persist the common data and the non-common data to disk. The persistor is operable, in response to a determination that the common data have already been persisted to disk, to persist the non-common data to disk.
12 Citations
20 Claims
-
1. An apparatus for controlling persisting of data to disk for use with a messaging system comprising an application operable for generating and sending a message to a destination, the apparatus comprising:
-
a processor in communication with one or more types of memory, the processor configured to; facilitate a comparator operable to determine that the message comprises common data, determine that a performance benefit is gained by separating and persisting separately the common data and non-common data of the message, wherein a determination that the performance benefit is gained is made by determining a percentage of messages from the application comprising common data exceeds a predetermined threshold; facilitate an extractor, responsive to a determination that the message comprises common data, configured to extract the common data and non-common data from the message and represent the non-common data located within the common data as variables comprising placeholders within the common data for each associated data item of the non-common data; and facilitate a persistor operable to determine whether the common data have already been persisted to disk, wherein the persistor is operable, in response to a determination that the common data have not already been persisted to disk, to separately persist the common data and the non-common data represented by the variables to disk and wherein the persistor is operable, in response to a determination that the common data have already been persisted to disk, to persist the non-common data represented by the variables to disk, wherein the common data is persisted with a unique reference and the non-common data is persisted with the unique reference on a per message basis. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for controlling persisting of data to disk for use with a messaging system comprising an application operable for generating and sending a message to a destination, the method comprising:
-
determining that the message comprises common data; determining that a performance benefit is gained by separating and persisting separately the common data and non-common data of the message, wherein a determination that the performance benefit is gained is made by determining a percentage of messages from the application comprising common data exceeds a predetermined threshold; extracting, in response to a determination that the message comprises common data, the common data and non-common data from the message; representing the non-common data located within the common data as variables comprising placeholders within the common data for each associated data item of the non-common data; determining whether the common data have already been persisted to disk; separately persisting, in response to a determination that the common data have not already been persisted to disk, the common data and the non-common data represented by the variables to disk; and persisting, in response to a determination that the common data have already been persisted to disk, the non-common data represented by the variables to disk, wherein the common data is persisted with a unique reference and the non-common data is persisted with the unique reference on a per message basis. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for controlling persisting of data to disk for use with a messaging system comprising an application operable for generating and sending a message to a destination, the computer program product comprising:
a non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; determining that the message comprises common data; determining that a performance benefit is gained by separating and persisting separately the common data and non-common data of the message, wherein a determination that the performance benefit is gained is made by determining a percentage of messages from the application comprising common data exceeds a predetermined threshold; extracting, in response to a determination that the message comprises common data, the common data and non-common data from the message; representing the non-common data located within the common data as variables comprising placeholders within the common data for each associated data item of the non-common data; determining whether the common data have already been persisted to disk; separately persisting, in response to a determination that the common data have not already been persisted to disk, the common data and the non-common data represented by the variables to disk; and persisting, in response to a determination that the common data have already been persisted to disk, the non-common data represented by the variables to disk, wherein the common data is persisted with a unique reference and the non-common data is persisted with the unique reference on a per message basis. - View Dependent Claims (18, 19, 20)
Specification