1. 4

  2. 2

    One other thing you might want to do: check against a bloom filter before performing cache eviction. This ensures that “one-hit wonders” don’t evict more popular items.

    A web object is cached only when it has been accessed at least once before, i.e., the object is cached on its second request. The use of a Bloom filter in this fashion significantly reduces the disk write workload, since one-hit-wonders are never written to the disk cache. Further, filtering out the one-hit-wonders also saves cache space on disk, increasing the cache hit rates.