Patent ID: 7269608
Filing Date: 2007-09-11
Classification: G06F,Y10S

Abstract:
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.