Skip to content

Cluster with consistent hashing equal to relay and carbonate #810

Answered by Civil
interfan7 asked this question in Q&A
Discussion options

You must be logged in to vote

And to clarify a bit the thought process here:

To do glob expansion on carbonapi (same for regex matching), carbonapi need to know list of all available metrics and where to find them.
For the production setup at the time of designing, that meant that each carbonapi instance must know about at least several millions of metrics. Honestly I don't remember total amount that booking stored in graphite back then, but from some presentations that was millions of unique metrics per second and there were not that many of per-second metrics, so probably that was O(1B) unique metrics.

Roughly 100 bytes per metric name would be a good estimate, so we have 1B * 100 = 100B bytes just to store the name…

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
10 replies
@interfan7
Comment options

@Civil
Comment options

@Civil
Comment options

Answer selected by interfan7
@interfan7
Comment options

@Civil
Comment options

@interfan7
Comment options

@Civil
Comment options

Comment options

You must be logged in to vote
3 replies
@Civil
Comment options

@interfan7
Comment options

@Civil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants