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

feat(bloomstore): Introduce specialised cache for blocks #12257

Merged
merged 12 commits into from
Mar 20, 2024

Commits on Mar 19, 2024

  1. Introduce specialised cache for blocks

    The blocks cache is an in-memory cache that represents the single source
    of truth of what blocks are available on the filesystem and manages
    their EOL lifecycle.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    a433d95 View commit details
    Browse the repository at this point in the history
  2. Replace condition with simple channel

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    d66c174 View commit details
    Browse the repository at this point in the history
  3. fixup! Replace condition with simple channel

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    d42b09e View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Add benchmark comparing EmbeddedCache with new BlocksCache

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    ef0ef23 View commit details
    Browse the repository at this point in the history
  2. Collect hit/miss metrics in separate goroutine

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    a1ad00d View commit details
    Browse the repository at this point in the history
  3. Remove unused field accessed from cache entry

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    567ae5c View commit details
    Browse the repository at this point in the history
  4. fixup! Add benchmark comparing EmbeddedCache with new BlocksCache

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    8c8c635 View commit details
    Browse the repository at this point in the history
  5. Incorporate feedback from PR review

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    f21f79f View commit details
    Browse the repository at this point in the history
  6. Fix LRU eviction when oldest entry has refcount

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    e1a7330 View commit details
    Browse the repository at this point in the history
  7. PR feedback

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    8256fa5 View commit details
    Browse the repository at this point in the history
  8. Fix import order

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    3db733f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    718a833 View commit details
    Browse the repository at this point in the history