These are great questions.

Connection info for channels (re: your first question) probably won't
make the cut for the first release of the API, but it is something I
want to do. Especially after writing the trivia quiz and having to do
the bookkeeping manually. One thing to note is that channels will
timeout after some amount of time (currently they're set at two hours)
so the model in trivia quiz will actually map to reality. But I hear
you that it's less than ideal.

The second and third questions is also excellent. We don't have
definite plans to support a broadcast model for channels: we'll limit
concurrent connection per channel to something in the single digits,
primarily to support the case where a user refreshes their browser or
something. It is something I would like to do in the longer-term but
there are no definite plans around this.

However, in the nearer term (but not for the initial release) I do
have plans to provide a 'send' method which takes a (potentially quite
large) collection of channel keys to send a message to. So the app
would need to keep track of which clients are interested in a
particular topic (clients a, b, c, d, e, etc care about 'cheese') but
then we'll be able to scale these fan-out scenarios better under the
hood and you won't need to make a ton of API requests to send the same
message to a bunch of clients.

Finally, your third question: you've probably figured this out from
above, but the architecture right now encourages/enforces one channel
per client and one client per channel. We'll only allow one channel
creation per page and if you want to multiplex you'll need to handle
that yourself (by sending the right set of messages over the one
channel connection). Since we're not supporting broadcast, I think
this fits the model; if there are scenarios that you think need this
kind of multiplexing though please let me know.

Thanks for your questions!

-Moishe

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to