Hey Jens,

Sounds good, we're probably planning upwards of 1000-2000 channels per user 
actually that will be actively synced. One other question I had is do 
channels "catch up" take for instance:

1. User syncs channel "A" to sequence 1000
2. User adds subscription to channel "B" and begins replication

Will it sync from channel B starting at sequence 1000 or sequence 0? I'm 
worried we're going to have to create a replicator for every single channel 
to ensure it catches from sequence 0.

On Friday, January 15, 2016 at 3:01:50 PM UTC+13, Robert Payne wrote:
>
> Hi Couchbase,
>
> So far am pretty enthused with CouchbaseLite and Sync Gateway and 
> appreciate all the hard work put in.
>
> I have a use case that I'm unsure is workable but I feel like others may 
> have similar use cases:
>
> – Users subscribe/unsubscribe from channels
> – Users need to sync all documents related to those channels
> – If a user subscribes to a new channel, that channels data should also 
> start to sync
>
> Looking at Sync Gateway I think I can accomplish this by:
>
> – Ensuring documents are tagged with appropriate channels
> – Using the Sync Gateway Admin API to modify channel access (PUT 
> /{db}/_user/{name})
>
>
> I was just interested from an architecture point of view of how scalable 
> it is to have many very "shallow" channels. Some channels may only be 1-2 
> documents, others 400-500 and each user will be subscribed to likely 50-150 
> channels at any given time.
>
>
> Cheers,
> Robert
>

-- 
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/4e4d6f31-3d82-4000-8f5a-55335c71c38b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to