graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05078
[Question #253432]: Multiple webapp-s render slow
New question #253432 on Graphite:
https://answers.launchpad.net/graphite/+question/253432
Hello!
I've tested single node of graphite, it works very fast, now decided to create fail-safe cluster.
Started testing with two nodes in cluster, config listed below, and faced with problem of slow rendering when running two webapps. Fetch takes about 4 seconds, but when shutdown one replica fetch longs about 250ms (same latency when there was no cluster) What is wrong?
Each node config:
- Relay
LINE_RECIEVER 0.0.0.0:2003
PICKLE_RECIEVER 0.0.0.0:2004
RELAY_METHOD consistent-hashing
DESTINATIONS 192.168.0.10:2104:a,192.168.0.10:2204:b,192.168.0.11:2104:a,192.168.0.11:2204:b
- Cache:a
PICKLE_RECIEVER 0.0.0.0:2104
CACHE_QUERY 0.0.0.0:7102
- Cache:b
PICKLE_RECIEVER 0.0.0.0:2104
CACHE_QUERY 0.0.0.0:7102
- WebApp
CARBONLINK_HOSTS = ["127.0.0.1:7102:a","127.0.0.1:7202:b"]
CLUSTER_SERVERS = ["192.168.0.11:8000"] # and ["192.168.0.10:8000"] on other node
- Nginx
upstream servers: 192.168.0.10:8000, 192.168.0.11:8000
all data was wiped before making cluster
nodes connected with gigabit links
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.