×

Item-wise simulation in a block cache where data eviction places data into comparable score in comparable section in the block cache

  • US 10,185,666 B2
  • Filed: 12/15/2015
  • Issued: 01/22/2019
  • Est. Priority Date: 12/15/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • emulating item-wise caching for a block cache implemented in a secondary data storage of a caching system by;

    selecting, as sample items, a subset of data items included in the block cache; and

    maintaining the sample items in an ordered queue on a primary data storage of the caching system, wherein;

    the sample items are ordered in the ordered queue based on a caching algorithm that computes a metric score for each of the sample items and determines an order for the sample items based on a comparison of the metric scores; and

    each metric score is indicative of a retention priority;

    identifying, from an item-wise cache implemented in the primary data storage, a pending data item for storage into the block cache;

    determining a metric score, indicative of retention priority, of the pending data item;

    comparing the metric score of the pending data item with the metric scores of the sample items in the ordered queue and identifying a comparable sample item from the sample items with a metric score that is closest to the metric score of the pending data item;

    adding the pending data item into a block buffer that is stored in the primary data storage, wherein;

    the block buffer corresponds to a memory section in the block cache implemented in the secondary data storage; and

    the memory section in the block cache is associated with the comparable sample item; and

    when adding the pending data item into the block buffer either results in the block buffer being full or a threshold percentage of being full, storing the block buffer, from the primary data storage, into the block cache, implemented in the secondary data storage, at the memory section that corresponds to the block buffer.

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