Java nio basics 1:channel and buffer

Blocking IO Read and write are blocked, and each request is a thread non-blocking IO Based on the Reactor working mode, IO is not blocked. Specific IO events are registered and the system will notify when specific events occur. The core object is the Selector, When reading, writing and registration occur, the selector can find the Selector ...

Posted on Tue, 21 Sep 2021 13:48:15 -0400 by andyhajime

Explanation of Reactor model

1, What is the Reactor model          Reactor pattern is a method to process concurrent service requests and submit the requests to one or more servers An event design pattern for multiple service handlers. When the client requests arrive, the service handler uses the multi-channel allocation strategy. A ...

Posted on Tue, 14 Sep 2021 00:58:09 -0400 by woobarb