×

Shallow cache for content replication

  • US 10,534,708 B1
  • Filed: 06/25/2018
  • Issued: 01/14/2020
  • Est. Priority Date: 06/25/2018
  • Status: Active Grant
First Claim
Patent Images

1. A method performed by a computing device comprising processing hardware and storage hardware, the method comprising:

  • storing, in the storage hardware, a local data store comprised of local data items having respective unique storage paths where they are stored in the local data store;

    maintaining a shallow cache comprised of cache entries, each cache entry representing a respective local data item in the local data store, each cache entry comprising a hash of the correspondingly represented local data item and comprising a set of paths where respective copies of the local data item are stored in the local data store;

    determining to add a dataset from a remote device to the data store, the dataset represented by a manifest comprising a list of manifest entries, each manifest entry comprising a hash of a respective remote data item at the remote device and a set of paths where respective copies of the remote data item are stored on the remote device;

    based on determining to add the dataset from the remote device to the data store, adding the dataset by;

    for each manifest entry in the manifest, determining whether any cache entry contains the hash of the manifest entry; and

    when a cache entry is determined to contain a hash of a manifest entry, copying a local data item (i) from a path in the cache entry'"'"'s set of paths (ii) to each of the paths in the manifest entry'"'"'s set of paths.

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