H
hiwa
Here's a quote from _Java Concurrency in Practice_
by Goetz et al.
<quote>
.... However, operating system support for larger
numbers of threads has improved significantly,
making the thread-per-client model practical even
for large numbers of clients on some platforms.
The NPTL threads package, now part of most Linux
distributions, was designed to support hundreds
of thousands of threads. Nonblocking I/O has its
own benefits, but better OS support for threads
means that there are fewer situations for which
it is essential.
</quote>
Then, my question is, does the thread implementation
on Java for Linux utilize NPTL? Or, even on Linux,
shoud a scalable server development use java.nio
facilities instead of multi-threading?
by Goetz et al.
<quote>
.... However, operating system support for larger
numbers of threads has improved significantly,
making the thread-per-client model practical even
for large numbers of clients on some platforms.
The NPTL threads package, now part of most Linux
distributions, was designed to support hundreds
of thousands of threads. Nonblocking I/O has its
own benefits, but better OS support for threads
means that there are fewer situations for which
it is essential.
</quote>
Then, my question is, does the thread implementation
on Java for Linux utilize NPTL? Or, even on Linux,
shoud a scalable server development use java.nio
facilities instead of multi-threading?