Live data from Hacker News

Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

monitoring2.substack.com

1–10 of 22 posts

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#2
I enjoyed the post. Good links to a lot of relevant, recent stories & events.

Not the article's fault, but it cites the "ClickHouse Cost-Efficiency in Action: Analyzing 500 Billion Rows on an Intel NUC" article that was published January 1. It's a week old, & I kind of feel like I'm never going to get away with it. It seems like a great, fun, interesting premise, but the authors took what is a challenging, huge data-set, and, under the guise of making the data look "realistic" they drained all the entropy out of the dataset, & then claimed they were 10-100x faster.

Well, yes, maybe for some workloads maybe. Maybe the changes they made might in some circumstances be "realistic" for some IoT use cases, maybe.

But I feel like I'm going to see this article come up again, and again, and again. And each time, I'll have these frustrations, about how while they may still be running queries on the same number of rows, they are running queries on many orders of magnitude less data. It's a fun read, & genuinely useful- in some circumstances- tech, but I don't expect to see this nuance showing up. I'm already weary, seeing this Clickhouse article again.

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#3
Before anybody thinks that they need something like this at work, I have seen single node HA Prometheus set ups work at one of the largest CDN's in the country for metrics.

Reddit's own Kubernetes infrastructure team uses single node (pod) Promethei as well. [0]

If you look all of the components that are required to run Thanos [1], the operational complexity is incredibly high. I know its a shiny tool, that is super cool but please make sure you have an actual need for some of these before devoting resources to them.

[0] https://www.reddit.com/r/kubernetes/comments/ebxrkp/we_are_t...

[1] https://improbable.io/blog/thanos-prometheus-at-scale

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#4
post #2

I enjoyed the post. Good links to a lot of relevant, recent stories & events. Not the article's fault, but it cites the "ClickHouse Cost-Efficiency in Action: Analyzing 500 Billion Rows on an Intel NUC" article that was published January 1. It's a week old, & I kind of feel like I'm never going to get away with it. It seems like a great, fun, interesting premise, but the authors took what is a challenging, huge data-…

Stop reading the articles, benchmark it yourself then write about it.

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#5
post #3

Before anybody thinks that they need something like this at work, I have seen single node HA Prometheus set ups work at one of the largest CDN's in the country for metrics. Reddit's own Kubernetes infrastructure team uses single node (pod) Promethei as well. [0] If you look all of the components that are required to run Thanos [1], the operational complexity is incredibly high. I know its a shiny tool, that is super…

Reddit writes out the metrics to other solution [0], so there is no difference from the setups in the article.

[0] https://www.reddit.com/r/kubernetes/comments/ebxrkp/we_are_t...

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#6
post #3

Before anybody thinks that they need something like this at work, I have seen single node HA Prometheus set ups work at one of the largest CDN's in the country for metrics. Reddit's own Kubernetes infrastructure team uses single node (pod) Promethei as well. [0] If you look all of the components that are required to run Thanos [1], the operational complexity is incredibly high. I know its a shiny tool, that is super…

I think you're conflating the scraping of time-series data with it's storage.

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#7
post #6
post #3

Before anybody thinks that they need something like this at work, I have seen single node HA Prometheus set ups work at one of the largest CDN's in the country for metrics. Reddit's own Kubernetes infrastructure team uses single node (pod) Promethei as well. [0] If you look all of the components that are required to run Thanos [1], the operational complexity is incredibly high. I know its a shiny tool, that is super…

I think you're conflating the scraping of time-series data with it's storage.

Nope, to be clear I am talking about Prometheus' own TSDB.

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#8
Cortex author here (Tom Wilkie). Great post that honestly highlights the differences between these systems - thank you!

The biggest take home here - and the first thing the post mentions - is the a single HA pair of Prometheus servers is enough for 80-90% of people. TLDR you probably don’t need Cortex (or Thanos, etc)...

...unless you run multiple, segregated networks (regions). Then something like Thanos (or Cortex) is useful - not for a the scale argument, but because you need a way to “federate” queries and get that global view. IMO!

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#9
post #8

Cortex author here (Tom Wilkie). Great post that honestly highlights the differences between these systems - thank you! The biggest take home here - and the first thing the post mentions - is the a single HA pair of Prometheus servers is enough for 80-90% of people. TLDR you probably don’t need Cortex (or Thanos, etc)... ...unless you run multiple, segregated networks (regions). Then something like Thanos (or Cortex)…

Isn't this the whole point of the federate endpoint? That you just run a central Prometheus pair to federate metrics at low resolution from a ton of places?

I only care about high resolution metrics for alerts. Otherwise I can just take a handful of them at 5m intervals, but from a lot of places.

Re: Big Prometheus: Thanos, Cortex, M3DB and VictoriaMetrics at Scale

#10
When my team agreed to use Prometheus from the client side we looked at Thanos, Cortex, and M3DB, but none of them gave us the flexibility and comfort of adoption for a small team providing a service to 10s of internal groups. We have many private internal DCs and needed metrics to be stored in the cloud, pulling data to the cloud seemed awkward and required access rights we couldn't get.

We ended up using Postgres 10 w/ TimeScaleDB and their Prometheus plugin with a simple emulated push gateway that converts a prom formatted http post to a postgres batch insert. Postgres is 3 nodes monitored with Patroni.

Working great for us and handling 1000+ metrics a second with ease and we get SQL for both real-time metrics for monitoring and analytics for business needs. We are using about 10-15% of our systems giving us room to grow.

Post reply on HN