×

Systems and methods for dynamic control of cache and pool sizes using a batch scheduler

  • US 7,543,273 B2
  • Filed: 10/15/2004
  • Issued: 06/02/2009
  • Est. Priority Date: 05/21/2004
  • Status: Active Grant
First Claim
Patent Images

1. A system to support dynamic control of cache, comprising:

  • a cache to store in memory one or more objects of each of one or more classes defined by an object-oriented programming language;

    one or more properties associated with a class of the one or more classes;

    a configuration file to define the one or more properties associated with the class; and

    a cache control component configured to perform steps of;

    instantiating and/or adding the object into the cache;

    removing the object, even if the object is an active object, from the cache when the cache is full and another object is to be inserted, wherein the active object is involved in a transaction and is accessible via the cache during a whole transaction period; and

    deploying a batch scheduler to perform the removing step via one or more batches;

    wherein the batch scheduler is a self-correcting batch scheduler with time-slice feedback mechanism to set a size of a batch of the one or more batches, wherein the batch scheduler is configured to perform at least one of;

    executing the batch at a fixed or variable periodicity;

    locking the cache when executing the batch;

    setting a processing time for the batch;

    setting the size of the batch, i.e., the number of instances to be processed by the batch;

    calculating the processing time for each instance by the batch; and

    adjusting the processing time for the batch and/or the size of the batch based on the processing time for each instance.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×