By the way, don't be afraid of a couple XMLHttpRequests.  If you had
two or three per second, you could very well emulate a "real flow" of
data.

According to YSlow, the Google Groups page on which I'm reading this
thread requires 28 HTTP requests (with empty cache), and it loaded in
2.18 seconds.

My point: it sounds like you're concerned with inefficiency (which is
good!), but a few requests per second is a fairly sparse traffic flow.

Cheers,
Ross


On Jun 27, 7:44 am, RossGK <[EMAIL PROTECTED]> wrote:
> Thanks for the comments Norman,
>
> The appeal of HTTP is that it is so broadly seen as benign by networks
> that everyone can pretty much use it regardless of their network
> environment.
>
> The meta refresh tag is probably good for refreshes in the order of
> seconds, but for a pseudo real-time streaming application I think it's
> too coarse.
>
> Yes - the ajax approach seems to be the best one so far, and I'm
> progressing on that despite my weak javascript skills - man that's an
> ugly syntax after working in python for a while :)
>
> My Comet concerns were from references to iFrames - which scare me a
> bit... eg:  http://www.thespanner.co.uk/2007/10/24/iframes-security-summary/
>
> But I'll read some more to see if it might be better than repeated
> requests from ajax....
>
> R.
>
> On Jun 26, 11:48 am, "Norman Harman" <[EMAIL PROTECTED]> wrote:
>
> > RossGKwrote:
>
> > > Stuff
>
> > I think you don't want HTTP.
>
> > In other words you are wanting (like the Comet folks) HTTP to do things
> > it was not designed to do.  In other words you are avoiding its
> > strengths and chasing after its weaknesses.
>
> > Not sure what your real requirement is but,
>
> > Look at the Meta Refresh 
> > Taghttp://webdesign.about.com/od/metataglibraries/a/aa080300a.htm
>
> > Which AJAX is an improvement on, which sounds like you are already using
> > and I'm not sure why it doesn't work for you.  And stateless requests
> > are far more elegant than open TCP connections.  There are reasons the
> > HTTP Internet has exploded in a way client server never did.
>
> >  From my understanding of Comet it's more or less exactly what you are
> > asking for.  http://www.google.com/search?q=django%20comet
>
> > --
> > Norman J. Harman Jr.
> > Senior Web Specialist, Austin American-Statesman
> > ___________________________________________________________________________
> > You've got fun!  Check out Austin360.com for all the entertainment
> > info you need to live it up in the big city!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to