Giter VIP home page Giter VIP logo

Comments (4)

ngrossmann avatar ngrossmann commented on August 31, 2024

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.

genachka avatar genachka commented on August 31, 2024

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.

ngrossmann avatar ngrossmann commented on August 31, 2024

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 README
  • interval sample interval, e.g 1s, 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.

ngrossmann avatar ngrossmann commented on August 31, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.