Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InfluxDB: storing audio or video

We are looking at InfluxDB to store large numbers of streamed measurements (1-2 tera-samples). Additionally, we would like to be able to also store audio and video streams corresponding to the measurements (not all of them but many). To me at least this makes sense, since it is all time base data. But I don't see any discussion of this online.
I imagine that the video data could be broken up into frames. And that the audio data could be broken up into 100msec audio frames.
Has anyone tried this? Any recommendations?

like image 367
Hephaestus Avatar asked Sep 06 '25 03:09

Hephaestus


1 Answers

Most time-series databases are optimized for storing floating point values, with the occasional string here and there. Storing BLOBs beyond perhaps 1KB is likely not a good use case for InfluxDB, although we haven't done much performance testing with larger binary data.

That said, I don't quite follow your use case. It seems more like you need to index audio and video, rather than store and analyze time series data. TSDBs aren't just optimized for storing things with time as the primary axis, they are also optimized for aggregating those values and looking for change over time. Your use case doesn't seem to involve any aggregation or pattern searching, just a simple look-up table by time.

I would think a NoSQL database would be just as good for this, or perhaps OpenTSDB, which builds on top of Cassandra.

like image 65
beckettsean Avatar answered Sep 08 '25 22:09

beckettsean