@DougWhitehead wrote:
I have a line of thinking that I’d like to put out there to solicit comment or feedback on things I may have overlooked/misunderstood.
I have a CB server with a Gateway and a bucket with some 700K docs in it. Presumably there will be a few such buckets. These buckets will need to get replicated to handheld devices.
I just managed to get my first sync running and it took over 30 mins to go from 0 to 700K docs. (I haven’t found a bulk replication API yet…) Further, there will be multiple applications in the handheld that will share the same CBL (so that we don’t have multiple copies of the same bucket on the same device).
Does it make sense to run a webserver on the handheld as a means of servicing requests from localhost apps? If so, I would imagine I could implement the methods by calling the Rest APIs on the sync gateway while the data is loading to the local CBL.
In other words for the first hour (or so) the handheld apps would be fully functional when connected to WiFi. And after the sync is complete, the handheld can revert to normal responses from the local CBL.
All of the handhelds at the same store location would sync to the same buckets/channels so after the initial sync things should be quick (assuming you didn’t switch stores which would require a delete and initial sync).
Does this make sense? Is this something others have tried?
Thanks,
Doug
Posts: 1
Participants: 1