[EMAIL PROTECTED] writes:

>  * The API implicitly allows us to do select(2). 

or poll.


>    With it, a server program which provides services via network 
>    can serve a large number of clients without many threads 
>    corresponding to each client. 

Not exactly. You can only do this if the logic of serving the request
can be coded in a slightly different way.

Thus servlet engines cannot really benefit from this, only in terms
of accepting connections.

Of course, buffers could be setup between the servlet and the HTTP
implementation but for very small and very large outputs these would
be a major inconvieniance.


Personally, I think the work that IBM did on improving OS threads was
a more interesting avenue for improving IO performance.


Nic

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to