Hi Rafael,
  Do all users care about the same timer, or does each user have their
own, or is there one timer for a group, or something else?  Do you
need to push the remaining time at particular time for some reason?



Robert






On Thu, Dec 2, 2010 at 20:35, Rafael Sierra <[email protected]> wrote:
> I know that I cannot share Client IDs between multiple users, but I
> still need something like a broadcast message system.
>
> Today, users make requests in regular intervals to get the update of
> the information, let's say a timer counting down like a bomb, each
> client asks the server how much time left to the bomb explodes and the
> server answer the time, and it is made every second until the bomb
> explods (oh god, this thread will be tracked by USA).
>
> When I first saw Channel API I thought that in the future I could just
> do a simple send_message("120") (which means 2 minutes) and every
> client would get the information, but now with the release 1.4 I know
> that I can't do it. Instead I was wondering how I could use Channel
> API to reduce my request count.
>
> The first solution that came to me is to made an eternal loop (that
> would eventualy die in 10 minutes) in which I would loop across all
> the users (yet to know who is online) and send them the time.
> Actually, this is the only solution I got in mind, does someone have a
> better idea?
>
> --
> Rafael Sierra
> http://blog.rafaelsdm.com
>
> --
> 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.
>
>

-- 
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