New question #676015 on Graphite:
https://answers.launchpad.net/graphite/+question/676015
Hi,
I am running a graphite cluster with one frontend reading from two backends
with the CLUSTER_SERVERS:
MEMCACHE_HOSTS = ['graphite-frontend-a:11211','graphite-frontend-b:11211']
DEFAULT_CACHE_DURATION = 60
DEFAULT_CACHE_POLICY = [(0, 60), # default is 60 seconds
(7200, 120), # >= 2 hour queries are cached 2 minutes
(21600, 180), # >= 6 hour queries are cached 3 minutes
(43200, 360), # >= 12 hour queries are cached 6 minutes
(86400, 600)] # >= 24 hour queries are cached 10 minutes
REMOTE_FIND_TIMEOUT = 60 # Timeout for metric find requests
REMOTE_FETCH_TIMEOUT = 60 # Timeout to fetch series data
CLUSTER_SERVERS = ["graphite-backend-a-1:80", "graphite-backend-a-2:80"]
REMOTE_PREFETCH_DATA = True
The write throughput is really good for this cluster (using carbon-c-relay) but
the queries tend to get slow during peak hours and sometimes even timing out.
The frontend machine has:
8GB memory
2 x Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
The backend machines (i3 instances) have:
32 GB memory
4 x Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
dedicated SSD disk
Do you have any tips on how I could change the settings to make it faster?
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.
_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp