简体   繁体   English

哪个时间序列数据库更适合传感器数据 - InfluxDb 或 Prometheus

[英]Which Timeseries Database would be more suitable for Sensor Datas - InfluxDb or Prometheus

I have searched for it in many blogs, but it seems all the blogs present a biased view.我在许多博客中搜索过它,但似乎所有博客都存在偏见。 I myself am having a little bias towards Prometheus now, However, i did not find any good article which explains a use case of Prometheus for sensor data.我自己现在对 Prometheus 有一点偏见,但是,我没有找到任何好的文章来解释 Prometheus 用于传感器数据的用例。

In my case, we manufacture IoT devices and we have a lot of data coming in. Till now we have been using MongoDB for everything, but now I want to switch to a time-series database, but I am really confused, whether I can choose Prometheus or not.就我而言,我们制造物联网设备,我们有很多数据进来。到目前为止,我们一直在使用 MongoDB 做所有事情,但现在我想切换到时间序列数据库,但我真的很困惑,是否可以选择普罗米修斯与否。

I am comfortable writing my own metric converter which can convert my sensor data into Prometheus metrics format (If something doesn't exist already)我很乐意编写自己的度量转换器,它可以将我的传感器数据转换为 Prometheus 度量格式(如果某些东西不存在)

Don't feel bd, lots of folks start out trying MongoDB for IoT applications because Mongo claims it's great for IoT.不要觉得 bd,很多人开始尝试 MongoDB 用于 IoT 应用程序,因为 Mongo 声称它非常适合 IoT。 Only problem is, it's terrible for IoT.唯一的问题是,这对物联网来说很糟糕。 :-) :-)

What you need is a true Time Series Database (TSDB).您需要的是真正的时间序列数据库 (TSDB)。 If you want to be able to query your data with SQL, try out QuestDB .如果您希望能够使用 SQL 查询您的数据,请尝试使用QuestDB It's the fastest open source TSDB out there and it's small.它是目前最快的开源 TSDB,而且很小。

I think i found it.我想我找到了。 Its Victoria Metrics .它的维多利亚指标 Haven't seen something as amazing as VM.还没有见过像 VM 这样惊人的东西。 First thing, it supports both Prometheus and Influx DB Write protocol(not just these, it supports some other time series database protocols also) and supports query language similar to prometheus.首先,它同时支持 Prometheus 和 Influx DB Write 协议(不仅仅是这些,它还支持其他一些时序数据库协议),并且支持类似于 prometheus 的查询语言。 It has Vm Agent whose multiple instances we can run easily.它具有我们可以轻松运行其多个实例的 Vm 代理。 It has cluster support and performance-wise, nothing like it.它具有集群支持和性能方面的优势,没有什么比这更好的了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM