views:

285

answers:

3

I've been looking for a way to tell clients about expired objects and AppEngine's XMPP implementation seems really interesting because it's scalable, should be reliable and can contain up to 100kb of data.

  1. But as I understand it, before a client can listen to messages, he should have a gmail account. That's very impractical.

  2. Is there maybe a way to make temporary readonly XMPP accounts to use with this?

+1  A: 
  1. No this isn't true: you can have the AppEngine robot as contact over any Jabber/XMPP based networks.

Unless you are talking about the need for a GMAIL account to create an AppEngine robot... in which case YES you need to have a Google account.

jldupont
I tried this with a free jabber account from jabber.org, but never got it to work.
Koen Bok
A: 

Hi Koen,

In that situation, I would perform ajax calls every 5 minutes in example to check it.

It's easy to implement and the data exchanged can be reduced to the max (taking advantage of "fast query/response" bonifications of google-app).

Regards.

ATorras
Ajax calls every 5 minutes when we're talking about real-time web? Bleh.
Julien Genestoux
Well, the 5 minutes was just an example. The ajax call may return the number of seconds to wait depending on the load of the server.
ATorras
A: 

jldupont has it right for the first point : any JID should work :)

For the 2nd point, the only option is probably to set up your own server and allow anonymous access + temporary accounts.

Julien Genestoux
So if I can create temporary, readonly accounts _somewhere_ and assign them to a client that should work?
Koen Bok