I'm working on an app that collects user's location data overtime (like every 5 seconds while driving it should update their location). Ultimately I want these periodic location updates to sync up to my Rails server.
I'm wondering what the best way is to store/sync them up to my server. It doesn't seem like a good idea to sync them up with the server after every update, perhaps every hour it should sync the last 720 updates from the previous hour?
Is local SQLLite the best way to save those on the device in between syncing with the server? Any other better ideas with battery usage/performance in mind?