← Back to team overview

graphite-dev team mailing list archive

Re: [Question #174184]: What is using memcache by in graphite

 

Question #174184 on Graphite changed:
https://answers.launchpad.net/graphite/+question/174184

    Status: Open => Answered

chrismd proposed the following answer:
memcached is only used by the webapp and if you've got a cluster you
want to have a memcached on each server. Configure all the webapps'
MEMCACHE_HOSTS to be identical, referring to each memcached instance in
the cluster, and use IP addresses instead of hostnames to avoid DNS
lookups.

It is possible to separate the frontend and backend but that is rarely
the right thing to do. If your system is bottlenecked on I/O, moving the
webapp does nothing because the data still has to be fetched from the
backend machine's disks. If its a CPU or memory issue then there are
probably other ways to better distribute load like tuning
apache/mod_wsgi or tuning the carbon pipeline. Also make sure your
metrics are evenly distributed throughout the cluster.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.