×

Apparatus and methods for caching objects using main memory and persistent memory

  • US 7,269,608 B2
  • Filed: 05/03/2002
  • Issued: 09/11/2007
  • Est. Priority Date: 05/30/2001
  • Status: Active Grant
First Claim
Patent Images

1. A method of caching an object in a computer system having:

  • persistent memory comprising multiple disks;

    main memory containing a set of buffers associated with each of the multiple disks, each set of buffers comprising;

    a cyclic object buffer configured to store and retrieve objects by logical block number;

    a cyclic index buffer configured to store index entries corresponding to objects stored in the cyclic object buffer;

    a metadata buffer configured to store information facilitating access to the cyclic object buffer and the cyclic index buffer;

    wherein one of the multiple disks is a current disk and the set of buffers associated with the current disk is a current set of buffers;

    the method comprising;

    receiving an object from an origin server;

    writing the object to the current cyclic object buffer if the current cyclic object buffer is not full;

    if the current cyclic object buffer is full;

    adopting a longest waiting disk as a new current disk;

    adopting the set of buffers associated with the new current disk as a new current set of buffers;

    storing the object in the new current cyclic object buffer;

    writing an index entry regarding the object to the new current cyclic index buffer; and

    updating the new current metadata buffer.

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