On May 8, 2014, at 2:36 AM, Dave Holdsworth <[email protected]> wrote:
> A) a channel per player and duplicate the game state to both, plus the cards > to the next player to act That seems right. You wouldn't be duplicating the game state, just tagging its docs with both channels. Or if you prefer, you could have a "game" channel that both players have access to, and put the shared game state docs into that. > B) a channel per game and only push the latest revision with cards to the > next player to act. Doesn't work, because you can't route a doc to a subset of the users who have access to a channel; it's all or nothing. Channels are really lightweight so what this means is you just need to refactor with smaller-scale channels (as above). --Jens -- 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/0E9E9EDD-10FE-4A14-BC84-A1BEA1289536%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
