graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05364
Re: [Question #260936]: Running multiple carbon caches and rabbitmq
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
References