Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store: Add Groupcache as a cache backend #4818

Merged
merged 26 commits into from Jan 6, 2022

Commits on Oct 30, 2021

  1. cache: add groupcache

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS authored and akanshat committed Oct 30, 2021
    Copy the full SHA
    0ae3021 View commit details
    Browse the repository at this point in the history
  2. implement Cache interface on groupcache

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Oct 30, 2021
    Copy the full SHA
    a99bd9e View commit details
    Browse the repository at this point in the history
  3. move BucketCacheKey to a new package

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Oct 30, 2021
    Copy the full SHA
    2bf5358 View commit details
    Browse the repository at this point in the history
  4. add copyright to new pkg cachekey

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Oct 30, 2021
    Copy the full SHA
    87e8f64 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2021

  1. add a fix to return partial results if Get fails

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Nov 6, 2021
    Copy the full SHA
    d139fef View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. migrate from groupcache to galaxycache

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Nov 10, 2021
    Copy the full SHA
    0b7ca17 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2021

  1. instrument metrics for galaxyCache

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Nov 14, 2021
    Copy the full SHA
    6bca1ff View commit details
    Browse the repository at this point in the history
  2. add e2e test for store with groupcache

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Nov 14, 2021
    Copy the full SHA
    8f8c261 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. fix collector interface on CacheStatsCollector

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Nov 17, 2021
    Copy the full SHA
    8621c68 View commit details
    Browse the repository at this point in the history
  2. cache: fix / clean up tests

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Nov 17, 2021
    Copy the full SHA
    a6f1945 View commit details
    Browse the repository at this point in the history
  3. groupcache: support IterVerb

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Nov 17, 2021
    Copy the full SHA
    63b212b View commit details
    Browse the repository at this point in the history
  4. groupcache: changes according to comments

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Nov 17, 2021
    Copy the full SHA
    992e2e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Merge branch 'main' into groupcache_caching_bucket

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Dec 8, 2021
    Copy the full SHA
    2bf5594 View commit details
    Browse the repository at this point in the history
  2. store: fix groupcache test

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Dec 8, 2021
    Copy the full SHA
    3c12c2e View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. cache: add TTL support

    Adds TTL support to galaxycache as per this pull request:
    thanos-community/galaxycache#1
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Dec 13, 2021
    Copy the full SHA
    088b9d3 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. move caching_bucket_config to pkg cache

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Dec 22, 2021
    Copy the full SHA
    b15440e View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2022

  1. modify groupcacheCfg

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Jan 3, 2022
    Copy the full SHA
    c7c1460 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. remove duplicate CachingBucketConfig

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Jan 4, 2022
    Copy the full SHA
    57b1ab5 View commit details
    Browse the repository at this point in the history
  2. remove duplicate calls to NewCachingBucketConfig

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Jan 4, 2022
    Copy the full SHA
    13eaa61 View commit details
    Browse the repository at this point in the history
  3. refactor cache configuration

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Jan 4, 2022
    Copy the full SHA
    1e59562 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. implement suggestions from comments

    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Jan 6, 2022
    Copy the full SHA
    5f2f7cf View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from akanshat/add_ttl

    move cache TTLs to a struct
    GiedriusS committed Jan 6, 2022
    Copy the full SHA
    d0ef6f2 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from GiedriusS/add_ttl

    cache: add TTL support
    akanshat committed Jan 6, 2022
    Copy the full SHA
    a8ba37f View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/main' into groupcache_caching_bu…

    …cket
    
    Signed-off-by: akanshat <akanshat1999@gmail.com>
    akanshat committed Jan 6, 2022
    Copy the full SHA
    e6c3d73 View commit details
    Browse the repository at this point in the history
  5. *: formatting changes

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Jan 6, 2022
    Copy the full SHA
    d61e97c View commit details
    Browse the repository at this point in the history
  6. *: linter fixes

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Jan 6, 2022
    Copy the full SHA
    16ac6fd View commit details
    Browse the repository at this point in the history