152 points · by pauldix · 10y ago · 75 comments
Keep Rocking !!
Looking at less than a month of issues:
* https://github.com/influxdata/influxdb/issues/5440
* https://github.com/influxdata/influxdb/issues/5482
* https://github.com/influxdata/influxdb/issues/5534
* https://github.com/influxdata/influxdb/issues/5540
If you need something that won't fall over, it's not glamorous and a bear to setup, but OpenTSDB will sail with massive load once you've gotten it running.
One of the issues you linked to was for 0.9.6. Others were there because they had super high tag cardinality and not enough memory to actually run.
When people post comments like "I have 50 million series and it crashes on my box with 2GB of memory!!!", they're not relevant. You shouldn't expect miracles...
There's something different with what you're doing than with what we're testing. If you can give more detail about what your actual data looks like, I may be able to help.
Are you doing this on v0.10 (beta1 or greater) and you're seeing this problem?
In my case I had a 0.9.4 influxdb setup fed by statsd for about a week. The server hard crashed the first time I tried to back it up.
AFAIK you're using float64 compression scheme from "Gorilla" paper. 2.2 bytes per data point is possible with it but only on data that doesn't utilize full double precision (example: small integers converted to float64). You should compare compression algorithm used by TSM storage engine with zlib or any other general purpose compression algorithm, otherwise this number will be meaningless.
What kinds of queries are you seeing poor performance with? That would help us troubleshoot and improve, thanks.
I do love the simplicity of influx+telegraf, kapacitor also looks cool. Chronograf seems like a bad version of grafana still... maybe in the future if its FOSS and somehow manages to be better than grafana I'd use it.
They (InfluxDB) made huge progress, they work hard on an open source DB (and ecosystem) and people insult them and question Paul Dix's >30 minute response time to your support questions in a HN thread.
Last time I tried it out I vaguely recall that configuring rollups was kind of painful -- lots of nearly duplicate CS queries, even for a relatively small number of series.
And then add synchronized disk commits (like postgresql has always done) and performance goes puff (meaning lower than pg) (example: elasticsearch, mongodb).
We haven't run any comparisons vs. other solutions, but we will do that soon and I expect that we'll be competitive and better in some cases.
Does Todd Persen talk about durability testing in the video or is more about performance benchmarking? I haven't watched yet.
I use postgresql as comparison because antirez did in http://oldblog.antirez.com/post/redis-persistence-demystifie... (and ~none else has done something similar).
The next release will focus on improving query performance, but this one still works for many cases.
1) Does "DELETE * FROM foo" still cause the system to lockup, freeze, and require a restart to free memory? Or are there other conditions/queries that cause the system to become unstable?
2) There's no README/CHANGELOG/dependencies info on the download page. Which is the preferred version of Go to install on my servers for Influxdb - 1.4 or 1.5?
Is writing less than 20MB/sec of data something to brag about?
Switching to 0.10.0-nightly-614a37c in combination with switching to the TSM engine resulted in a very stable InfluxDB instance. So far my only gripe has been that some queries can get pretty slow (e.g. counting a value in a large measurement can take ages) but work is being done on improving the query engine (https://github.com/influxdb/influxdb/pull/5196).
To give you an idea of the data:
* Our default retention policy is currently 30 days
* 24 measurements, 11975 series. Our largest measurement (which tracks the number of Rails/Rack requests) has a total of 28 539 279 points
* Roughly 2.3 out of the 8 GB of RAM is being used
* Roughly 4 GB of data is stored on disk
This whole setup is used to monitor GitLab.com as well as aid in making things faster (see https://gitlab.com/gitlab-com/operations/issues/42 for more info on the ongoing work).
The input is actually much higher than that. Data points over the network look like this:
cpu_idle,host=serverA,region=uswest value=23.0 1454617920
That's actually a toy example. Most real data would probably have more tags and longer measurement names. Obviously that's much more than 3 bytes.
We persist that to disk in a write ahead log (WAL) and then later we can do compression and compactions on the data to squeeze it down to 3 bytes per point. However, that takes more than a single write against the disk to get to.
Run a load test against it. See how much network bandwidth you can use. See what your HD utilization looks like. My guess is you'll be surprised by what you see.
There are way too many haters in HN. You venomous minority who shit on every bit of good news that isn't yours -- keep your negativity to yourself.
You fucking monkeys infected with rage.
On the other hand, your use of the word 'minority' there was both astute and thoughtful.