Search code examples
graphite

Should i run Carbon-relay or carbon-cashe or both?


I want to ask about the Graphite carbon daemons. https://graphite.readthedocs.org/en/latest/carbon-daemons.html

I would like to ask while running a carbon-rely.py, should i also run carbon-cache.py or the relay is okay?

Regards Murtaza


Solution

  • Carbon-relay only resends data to one or more destinations, so it needed only if you want fork data into several points. Example schemas can be:

    • save locally and resend to another node (cache or temporary-storage and relay)
    • resend all data into multiple remote daemons (multiple remote storages)
    • save all data in multiple local daemons (parallel storage & redundancy)
    • save different data sets in multiple local daemons (performance)
    • ... other cases ...

    So, in case you need store data locally - you have to use carbon-cache. in case you need fork data flow on the node,- you have to use carbon-relay before or instead carbon-cache