What does OIO mean in Java?
•
Java
Please forgive me for just starting to learn java network programming I just read netty in action and mentioned an OIO
I've learned about Java IO and NiO before But what is OIO?
I tried to search on Google, but I didn't get anything Can someone help explain what it is?
Solution
OIO stands for old IO or blocking io In this model, each socket or client connection causes a new dedicated thread to process the request So, number or threads = = number of active clients / sockets
Using NiO or new IO, you can reduce the number of threads and provide services for more clients Here, number or thread < number of active client / socket words
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码