News for hackers. Stuff that matters.
Re:InfluxDB CTO: Why We Moved from Go to Rust by matsemann on Sunday October 01, 2023 @02:21PM (#37728818)
Not really the biggest difference, I feel. In Prometheus, you only have the data you scrape. So lets say you scrape every minute. Then all you have is a counter per pod increasing from some value to something else.

With influx you can save every event. So you know exactly when it happened, the unique labels for that event etc. It's a completely different paradigm.

So in Prometheus you have

  myCounter,pod=1,time=20:23,value=1000
  myCounter,pod=2,time=20:23,value=500
  myCounter,pod=1,time=20:24,value=1100
  myCounter,pod=2,time=20:24,value=700
so all you know is that some event happened 100 times on pod1 and 200 times on pod2 the last minute. But with influx you could have a row for every single event. Of course that explodes the query time in comparison, but allows you to do much more with the data if needed.

There are no comments on this comment yet.