Closed ricardobalk closed 4 years ago
For saving previous locations, we have two options:
1) A vector which stores all locations submitted so far in memory. (non persistent) 2) Db engine like BoltDB to store the entries somewhere in storage. (persistent)
Which are you aiming at?
I was aiming at option 2. A persistent database that could save tracks even between restarts of the app. Preferably with multi-user support, or at least ready for it (see #2)
What's your opinion on this?
Maybe bolt or sqlite. Mongo is way heavy for the current purpose.
Considering there is very little relation between data, (which are simply location entries), a nosql db might be the to-go here.
So perhaps bolt will be ideal.
The current app only saves the last known location. There is no database that can save tracks.