Comments (4)
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.
from momo.
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.
from momo.
You can query momo directly e.g.
curl 'http://localhost:8080/series?from=1457592507&interval=1m&q=servers.lisa.cpu-0.cpu-user&to=1457592807'
q
query as in grafana, it's documented in the READMEinterval
sample interval, e.g1s
,1m
from
/to
time interval in seconds since the epoch.
The port is the port configured in momo (default 8080) not the grafana port (default 3000).
from momo.
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.
Implementing this in Momo shouldn't be too difficult, if you want to give it a try look at the MetricActor class.
from momo.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from momo.