← Back to team overview

graphite-dev team mailing list archive

Re: [Question #260936]: Running multiple carbon caches and rabbitmq

 

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

Denis Zhdanov proposed the following answer:
Hi Krzysztof,

2015-01-19 15:21 GMT+01:00 Krzysztof
<question260936@xxxxxxxxxxxxxxxxxxxxx>:

> and what about HA when my carbon machine dies? how to avoid "breaks" in
> my graphs when my carbon machine is down? graphite clustering?

It is hard to do so with AMQP. If your server with carbon caches dies it
will loose all datapoints which was still reside in memory and not yet
flushed to disk (on SSD is not that critical - but you can loose 1-2
minutes of datapoints).
You can setup cluster with another tier of relays, which will have
REPLICATION_FACTOR=2 and will distribute your load across 2 (better 3)
 backends - but if one of your nodes experienced downtime - you need to
proper sync up whisper files across nodes before enabling it  - otherwise
you will have gap in graphs too.

WBR,
   Denys

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