How to send quickly a message through Channels API to 10k users?

58 views
Skip to first unread message

Andrius A

unread,
Nov 15, 2011, 4:18:23 PM11/15/11
to Google App Engine

Hi,

I am having a problem to find a way to send the same message to many users connected through channels instantaneously. I understand that there is no way at the moment to have the same channel for many clients or broadcast a message. So I store connected users in datastore and do a loop through them to send a message.

But I will face delay issues if I have thousands of users, because I will need to split the users list and create tasks to send the messages.

What could be the best approach to accomplish this? For me it is really important to deliver the message within a second.

JH

unread,
Nov 15, 2011, 6:00:05 PM11/15/11
to Google App Engine
I would check out pubnub.com

Max

unread,
Nov 16, 2011, 8:25:26 AM11/16/11
to google-a...@googlegroups.com
Channel service is not designed to fan-out

checkout this project pshb: http://code.google.com/p/pubsubhubbub/

Olivier

unread,
Nov 16, 2011, 4:26:16 PM11/16/11
to google-a...@googlegroups.com
pubsubhubbub is designed for server to server communication, I think Andrius is looking at Server to Clients broadcasting.
pubnub.com seems interesting. Humble Indie Bundle seems to be using it, not sure why
Reply all
Reply to author
Forward
0 new messages