Couchbase Sync Gateway - limit on number of channels? -
does make sense define channel per 1-4 documents?
the use case trying solve synching user's accounts between different devices of same user:
example lets have 1 million docs (accounts) in bucket, defining 400k channels, channel each user. in example have 400k users each 2.5 accounts in average.
does sound right case sync gateway?
as per cb documentation roles:
roles named collections of channels. user account can assigned 0 or more roles. user inherits channel access of roles belongs to. unix groups, except roles not form hierarchy.
that hint me approach should amended , should design channels roles in mind. result you'll have less channels. work out roles like: usergroupa, usergroupb, etc.
in humble opinion, approach sounds bit "unscalable" since if number of users grows channels number.
Comments
Post a Comment