GithubHelp home page GithubHelp logo

Comments (7)

b-g avatar b-g commented on June 10, 2024 1

OK + great! :)

Just: Could we test whether a heavy recording eg. an entire days of 24h (which I guess will result in big files) will still work for all features? Happy to do the stress test with my phone once there is a alpha.

from opendatacam-mobile.

tdurand avatar tdurand commented on June 10, 2024 1

PS: beta coming !! tomorrow or friday !

from opendatacam-mobile.

b-g avatar b-g commented on June 10, 2024 1

👍

Also I think it might be the time to add an option to only persist counter data and not each frame of the tracker if we want.. most people don't care of the raw tracker data.

Yes. We kind have for this also the swich off pathfinder setting ... but it would be a pitty to disable the pathfinder mode on default as maybe people won't notice them ... hence just a new switch "Record Raw Paths: y/n" (n = default)

from opendatacam-mobile.

tdurand avatar tdurand commented on June 10, 2024

yep of course...

Also maybe I could properly evaluate what would be the cost of actually running mongodb on android, there is a SDK maybe it is not very hard.. : https://docs.mongodb.com/realm/android/install

from opendatacam-mobile.

tdurand avatar tdurand commented on June 10, 2024

yep of course...

Also maybe I could properly evaluate what would be the cost of actually running mongodb on android, there is a SDK maybe it is not very hard.. : https://docs.mongodb.com/realm/android/install

Hum. this seems to be MongoDB Realm.. which is for now unclear to me what is it , is it free, is it the same API .. anyways.. for now I will just go to down the route to the fast and simple for the beta... and let's see if we need to move to more robustness later on

from opendatacam-mobile.

b-g avatar b-g commented on June 10, 2024

👍! Looking forward! :)

from opendatacam-mobile.

tdurand avatar tdurand commented on June 10, 2024

NB: first alpha ready: #3 (comment)

update on this.. turn out to be a little more complex than expected.. as always .. but working ! yeah

  • API isn't quite the same as MongoDB but it had all the features we needed .. so was able to make it work after trial an error, documented "diff" : opendatacam/opendatacam@development...evo-addnedbconnector , basically wrote a new DBManager with same API .. good thing is that is super trivial now to have an option in the config.json to choose between MongoDB or NeDB for persistence
  • every 5 min we run a compact database otherwise it grows really fast (200 MB for 10 mins).. but after compacting it takes only 50 kB from my test for each 5 min (it takes 100ms to compact ;-) ).. so for 24h I think it should take just a few MBs of space for a recording of this size.. but I need to benchmark better.. Also I think it might be the time to add an option to only persist counter data and not each frame of the tracker if we want.. most people don't care of the raw tracker data.

First impression is that it sounds good enough for the first android version.. but let's see after more tests

from opendatacam-mobile.

Related Issues (20)

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.