Skip to content

Implement an in-process distributed cache to avoid the need to use an external cache server like memcached #6593

@dannykopping

Description

@dannykopping

Is your feature request related to a problem? Please describe.
It is sometimes not desirable or even possible for users to run Loki with a cluster of memcached/redis instances for Loki's 3 caches (chunk, index query, result) to improve performance.

Describe the solution you'd like
Implement an in-process distributed cache. Groupcache is a great option here as it's written in Go (:heavy_check_mark:) by the legendary Brad Fitzpatrick who wrote memcached (:heavy_check_mark:).

Describe alternatives you've considered
Add a ring to our existing fifocache

Additional context
There is a fork available which adds some extra features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/cachestaleA stale issue or PR that will automatically be closed.type/featureSomething new we should do

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions