Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Investigate consistent hashing for memcache #5

Open
weeco opened this issue Nov 19, 2019 · 0 comments
Open

Investigate consistent hashing for memcache #5

weeco opened this issue Nov 19, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@weeco
Copy link
Member

weeco commented Nov 19, 2019

We should investigate and clarify whether and under what circumstances it makes sense to enable or disable the consistent hashing feature for Memcache. From the memcache docs:

Consistent Hashing is a model that allows for more stable distribution of keys given addition or removal of servers. [...]

https://github.com/memcached/memcached/wiki/ConfiguringClient#consistent-hashing

We have flags to enable it:

-memcached.consistent-hash=true
-store.index-cache-read.memcached.consistent-hash=true

I am not sure on what cortex components this should be enabled and how the migration from non consistent hashing to consistent hashing works. Can we just switch this without worrying about that, or should we clear the cache after enabling this?

@weeco weeco added the help wanted Extra attention is needed label Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant