Alex, can you open a new topic for this?

On Fri, Oct 27, 2017 at 2:13 PM, Alex Zavatone <[email protected]>
wrote:

> I know this is very late in the thread, but regarding iOS peer to peer
> replication in Couchbase, I am looking for "best approach" advice on how to
> solve this peer to peer replication problem.
>
> Our app is built in Swift and will be operating in an isolated hospital on
> iPads and there is no guarantee of a stable and reachable network.
> Assuming a maximum of 9 devices, we opted to test the stability of peer to
> peer by using Apple's peer to peer communication and discovery to identify
> peers and join a "room".
>
> While this worked in the simple case, as soon as > 4 devices connected to
> one room, devices would randomly disconnect, reconnect to ghost instances,
> return error messages from deep in private classes, even with Apple's own
> sample code.   Using this multipeer framework would clearly create a
> nightmare situation when more than 4 devices were in range within another
> on the other side of the planet.
>
> I've reviewed Pasin's Peer to Peer Photo example here:
> https://blog.couchbase.com/photodrop/
>
> What I'm unclear on is how is which approach is being used for device
> discovery.  How device discovery is performed when a device comes within
> range.  We need to handle this even before we start a replication.
>
> Thanks in advance.
> Alex Zavatone
>
> On Thu, Feb 16, 2017 at 2:03 PM, Brendan Duddridge <[email protected]>
> wrote:
>
>> Hi Jens,
>>
>> Great work on 2.0! I'm super stoked about being able to work with it once
>> it has CBLModel and replication support.
>>
>> I know there's some debate about whether or not map/reduce will be
>> available in 2.0. I do love the sound of the new query engine and I'm
>> thrilled to convert from map/reduce over to it. Hopefully that'll be
>> possible. I have some very complex map/reduce functions in my app.
>>
>> But aside from map/reduce, are there any other things that are in 1.x
>> that won't be coming to 2.0?
>>
>> A couple things I hope are going to be there eventually are:
>>
>> 1. Peer-to-peer replication
>> 2. This function from CBLDocument:
>>
>> BOOL success = [newDoc putExistingRevisionWithProperties:jsonObject
>>
>> attachments:attachmentProps
>>
>>     revisionHistory:revIds
>>
>>     fromURL:nil
>>
>>                       error:&error];
>>
>>
>>
>> I use putExistingRevisionWithProperties extensively for unarchiving and
>> now for providing CloudKit syncing for my customers. So far it works really
>> well for me.
>>
>>
>> Thanks!
>>
>>
>> Brendan
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Couchbase Mobile" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/mobile-couchbase/dc9cbef5-2e57-4a79-b808-ff59d6d00c01%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/mobile-couchbase/dc9cbef5-2e57-4a79-b808-ff59d6d00c01%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/mobile-couchbase/CAL%2Bx05OaO70wOSkztTMpj%3DQ4R2XbcSPbjr5qxo8qSaj_
> OnLJew%40mail.gmail.com
> <https://groups.google.com/d/msgid/mobile-couchbase/CAL%2Bx05OaO70wOSkztTMpj%3DQ4R2XbcSPbjr5qxo8qSaj_OnLJew%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCGBfyLYpJKk5OrhGVtN9rOOoZqYo%3DFOTn18xFdi5vG%2BFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to