I've just been using httpie to play around with sync_gateway using walrus. I've set up a public channel with guest accounts. Calling the Admin API for _changes on 4985 in one window and PUT a doc on 4984 in another. Changes came through immediately for feed==longpoll but when I tried feed==continuous it took 5mins to get changes on one occasion and not at all on another. Sync_gateway doc says normal or longpoll.
Anyway, I've got it working using coax and longpoll so at least for the prototype I should be ok. Thanks On Thursday, 8 May 2014 10:36:19 UTC+1, Dave Holdsworth wrote: > > I am considering building a turn-based card game using Couchbase Mobile. > > The playing sequence is as follows: > Deal cards to Player 1 (face-down) > Player 1 Actions (on table) > Deal cards to Player 2 > Player 2 Actions > Deal cards to Player 1 > ........................ > > A server will deal the cards and handle the actions through the sync > gateway. > > It seems to me I could have > A) a channel per player and duplicate the game state to both, plus the > cards to the next player to act > B) a channel per game and only push the latest revision with cards to the > next player to act. > > Is this an inappropriate use of revisions? > -- 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/ae2352dd-84dc-404a-b326-59eeaa64e7d0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
