Ask HN: Best datastore to store high volume time series data
Someone asked me what datastore I would use to store billions of sensor measurements (adding 50K+ per second). The data once stored won't change and a data point would be a simple timestamp and an integer.
I couldn't come up with an answer. Any ideas?
7 comments
[ 3.2 ms ] story [ 21.1 ms ] threadBeyond that, my first thought was a sorted set in Redis. However log(n) seems like an expensive price to pay for inserts which'll mostly be a push (since scores will largely be sequential).
Caveats:
1) You can't change the schema once you create the file. Adding new fields means adding a new file or recreating your existing file
2) With heavy I/O you may need to put these files on a RAM disk, and then periodically flush the persistency.
For an example, see the Cacti project.
http://graphite.wikidot.com/whisper