Code Monkey home page Code Monkey logo

cortex-ops's People

Contributors

metost avatar weeco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cortex-ops's Issues

Add docs about memcache tuning

Memcache can have a great positive impact on performance. If setup incorrectly you won't benefit much from it. It's not easy to tell whether you are properly utilizing memcache. For instance:

  1. Is your Memcache cluster oversized / undersized?
  2. Should you reserve some memcache storage for the different components?
    a) Is it more important to cache Query Frontend stuff than index writes?
    b) If yes, does it make sense to have multiple memcache clusters, each component has it's own to make sure they have dedicated storage sizes? Or is it possible to configure memcache so that each component can have it's own dedicated storage within a single cluster

Slack discussion: https://cloud-native.slack.com/archives/CCYDASBLP/p1574096262229600

Investigate consistent hashing for memcache

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?

Use Kubernetes manifests instead of Terraform modules

In order to be more open to the community we should use Kubernetes manifests for the deployment rather than Terraform modules. This way we can ensure everyone understands the deployment configs and therefore can also contribute improvements.

On top of that we don't need to wait for the Terraform Kubernetes provider to catch up with lacking features.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.