i want to use couchbase lite for a gps tracker.
Therefore i have to synchronize my gps position every second (very frequently).
I have to use Couchbase Lite, because i used it also for storing and synchronizing other user data.
I’ve checked to possibilities:
- update the document every time the position changed
- create a new document for every new position and delete (purge) the old
I analysed the traffic on wireshark and found out that using the
update function produces a lot of overhead (revision checking and so one).
Especially after updating the document more than 100 or 1000 times, the traffic races
Which solution (function) is better for this use case?
Is there a way to use the update function more efficiently?