×

Methods, apparatus and computer programs for managing persistence

  • US 9,495,229 B2
  • Filed: 06/26/2007
  • Issued: 11/15/2016
  • Est. Priority Date: 07/01/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. A data processing system for managing persistence, comprising:

  • a non-volatile data store coupled to a computer;

    a volatile data store coupled to the computer; and

    ,a persistence manager executing in a memory of the computer, the persistence manager comprising program code that when executed in the memory of the computer causes the computer to;

    evaluate at least one criterion of a set of criteria representing both costs of saving data to the non-volatile data store and also risks associated with not saving data to the non-volatile data store in order to determine whether or not a data update held in the volatile data store requires saving to the non-volatile data store, the evaluation comprising receiving a value representing a number of messages read from a queue per second, applying an exponential smoothing algorithm to the value representing the number of messages read from the queue per second to generate a message processing rate value, and storing the message processing rate in a database;

    determine whether to save the data update to the non-volatile data store based upon the evaluation of the at least one criterion of the set of criteria;

    in response to determining that the data update should be saved to the non-volatile data store, initiate a save of the data update to the non-volatile data store;

    in response to determining that the data update should not be saved to the persistent storage, set a timer for a next evaluation; and

    ,determine whether to save the data update to the persistent storage based upon evaluating the at least one criterion of the set of criteria after an expiration of the timer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×