Nathan Andelin skrev:

That made me think. AJAX is asynchronous, after all. And it made me think about server architecture, too.

If the connection were to stay open, that would tie up a socket at the TCP/IP level, and tie up a connection in the HTTP server.
Modern webservers deal with this one way or another. In the Java web server Jetty the concept is called "continuations".

Apparently the Servlet-3.0 specification allow for "suspendable requests" which will be the official way to do this.

Then the "connection in the http server" will not be a 1-1 mapping.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.