Hi all,

I tried the new Channel API, it is pretty impressive. However, there is a
problem for me. Here is the use case:

1. A data provider sends data to the server. The server handler saves the
data in datastore and sends the new data to a channel regardless if the
channel is created or not (keep things simple for higher through put);

2. A data consumer connects to the server, gets all the data from datastore,
and opens a channel ready for new data. To my surprise, the data consumer is
immediately flooded by the data from the channel which were sent before the
channel was created, resulting in redundant data (because those data was
retrieved from datastore already).

What I'm looking for is a "channel.clear" which discards all data that is
not yet delivered.

Probably there is a way to make things work on the existing API, but I'm
afraid it is logically complicated. For now, I'd rather fall back to my
existing simple and stable polling...

Will

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