> > There are many ways to solve this, depending on your apps' goals. A simple > one is: > > - Define a private channel for each user, named something like "user-" > + username > > > - When creating a user account, add that channel to their > admin_channels property > > > - When creating documents, add a "channels" property whose value is an > array containing the user's channel > > Regarding the approach suggested of assigning each user to a private channel: does that scale well ? By well I mean, at the degree that a couchbase server scales?
I'm asking because I read somewhere that the gateway doesn't use local storage (only RAM) - correct me if I'm wrong; So I got concerned about the scaling if doing it this way. Can we use and abuse of channels as we wish? Thiago -- 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/850d87a1-e3cb-4752-a735-d7b9c3226913%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
