[jdev] Re: JEP-0124: multiple HTTP connections
Stefan Strigler
steve at zeank.in-berlin.de
Sat Feb 4 09:43:04 CST 2006
Am Samstag, den 04.02.2006, 16:32 +0100 schrieb Alexander Gnauck:
> Stefan Strigler schrieb:
>
> > More or less that's what makes http binding different from those polling
> > stuff. While one connection is waiting for data the client is still able
> > to send data by creating a new connection.
>
> i think you mean while the connection is actually receiving data. If you
> have something to send, you can send it with polling immediately. You
> don't have to wait for the next poll interval.
>
No, that's not quite the point. With a polling mechanisms that allows
you to send whenever you want (which allows you too poll as frequently
as you like or doesn't limit polling for non empty requests) you could
have just this.
It's more that you're able to receive (from a client's perspective) data
immediately at any time as there's always at least one request pending
and thus available for sending data to the client.
In this situation if it wouldn't be allowed to do simultaneous requests,
in order to send data a client would have to wait until a pending
request returns either from running into a timeout or because data is
being transmitted to the client.
Cheers, Steve
More information about the JDev
mailing list