On 10/12/06, Paul  Moore <[EMAIL PROTECTED]> wrote:
>
> I'm trying to set up a web page which fires off a number of
> simultaneous requests, and displays the results as they come in. Here's
> my (very simple) attempt to do this, using loadJSONDoc. Basically, I
> have a function which uses document.write (a hack for now, I know...)
> to write out a placeholder span. Then it fires off a loadJSONDoc
> request to get data from a CGI, with a callback to fill in the
> placeholder.
>
> When I run this with a couple of placeholders, the data gets refreshed
> fine, but it seems that only one request is run at a time. Looking at
> the processes on the box, one CGI starts up, but the second doesn't
> start until the first is complete.
>
> It looks like *something* is serialising my requests - precisely what I
> don't want. What am I doing wrong?

Nothing is wrong, it's fine. Everything looks correct. What you're
seeing is that the server responds fast enough to where it appears to
be serialized... if the first request took a while the second would
certainly start before it finished.

-bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to