New issue
Advanced search Search tips

Issue 665548 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Add cachetool command to better understand duplicates in the cache

Project Member Reported by jkarlin@chromium.org, Nov 15 2016

Issue description

When discussing content-addressable HTTP caches, it helps to understand what caches look like today. Add a 'list-dups' command to cachetool that provides data about the number of duplicates (and their proportion of the cache size).
 
Components: Internals>Network>Cache
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 14 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ffc18a0d91f8d1f47f226cb0b837108ca6ea2cfa

commit ffc18a0d91f8d1f47f226cb0b837108ca6ea2cfa
Author: jkarlin <jkarlin@chromium.org>
Date: Wed Dec 14 12:59:02 2016

[CacheTool] Add a "list_dups" command

Adds a new command to cachetool called "list_dups". It md5sums the response
bodies in the cache and prints out any duplicates along with their mime-type
and number of bytes. This is useful for helping to explore the possible
benefits to content-addressable caching.

BUG= 665548 

Review-Url: https://codereview.chromium.org/2421583002
Cr-Commit-Position: refs/heads/master@{#438494}

[modify] https://crrev.com/ffc18a0d91f8d1f47f226cb0b837108ca6ea2cfa/net/tools/cachetool/cachetool.cc

Status: Fixed (was: Started)

Sign in to add a comment