-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storing as binary in Couchbase? #2
Comments
You cannot append to json data. My main goal with momo was to built something with very good read and write performance and allow data to be collected in 1 second intervals. I used views in the beginning to store which time-series names, I still do that but cache the data in momo. The performance I saw was pretty far away from what I need/expected, so I don't see it as an option for data points. |
I think the sub-document functionality could be leveraged for that and N1QL when used with keys (without creating an index) improves performance over views. For my use case, having it in binary format is a show stopper as I don't want to have two databases to deal with (one for Grafana, one for everything else) for the same data set, especially knowing what's coming down with CB 4.5 that we'll want to leverage. Have you any docs on how the data is stored and how to best query it from within CB? For example, if I wanted to create a PDF document showing the past month's performance of a specific sensor(s) in a specific location, sampled up to every 1 minute then maybe I could still leverage momo. |
You can query momo directly e.g.
The port is the port configured in momo (default 8080) not the grafana port (default 3000). |
I checked the sub-document feature. Seems it's new in 4.5, as I'm using the community edition it's currently not an option. Anyway I would be interested in seeing a comparison of binary append vs. sub-document append performance. |
Noticed that you're storing the data as binary in Couchbase. In addition to generating graphs from the data with Grafana, I was hoping to get to the stored data to do additional things with the data for reporting and/or analysis unrelated to Grafana using either CB's views of N1QL. Also, with the Full Text search capabilities now being exposed directly in CB 4.5 DP, of course none of that binary data would be useful for that. Why not store the data as JSON in CB?
The text was updated successfully, but these errors were encountered: