nickmilon wrote:
Acording to Nick Johnson : " The simultaneous dynamic request limit
was eliminated in a recent SDK "
But afaik the average response time should be < 1 second.

-Ulrich

On Apr 16, 9:22 am, Nickolas Daskalou <[email protected]> wrote:
If you're keeping your AJAX connections open for 25 seconds, once you get a
bit of traffic you will probably hit the max concurrent request limit of 30,
and any extra AJAX connections will either timeout or wait for other AJAX
connections to close first before connecting to your App Engine app.

Since you're sleeping for 5 seconds on the server side anyway, it'd be
better to close the AJAX connection and move the 5 seconds sleep to the
client/browser instead, then reestablish an AJAX connection after you wake
(polling with client-side sleep instead of long-polling with server side
sleep).

According to the roadmap (http://code.google.com/appengine/docs/roadmap.html),
there are plans to release "support for Browser Push (Comet) communication",
which will hopefully remove the need for such workarounds and make the world
a better place for our children, and our children's children.

On 16 April 2010 03:22, eric maxey <[email protected]> wrote:





I have a site that uses hanging AJAX connections that notify the
client when certain database changes happen.
The server checks the database every 5 seconds, and if the change has
taken place, returns the data to the client. Otherwise, it keeps
looping.
As it is, I need to re-establish this connection every 25 seconds,
because of the 30 second deadline imposed on google app engine.
Is there any better way to do this? --
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]<google-appengine%2Bunsubscrib 
[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 
athttp://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