'Java sockets I/O: blocking, non-blocking and asynchronous' article and source code
-
Updated
May 22, 2024 - Java
'Java sockets I/O: blocking, non-blocking and asynchronous' article and source code
Non-blocking implementations of server using java.nio selectors: single and thread pooled.
Non-blocking single threaded implementation of server using java.nio: polling.
Passtime-Server is a Java-based server application that logs and processes client queries regarding elapsed time. The server handles multiple clients concurrently using non-blocking I/O and multiplexing of socket channels. Clients can log in, request elapsed time information for given date ranges, and log out. Configuration is provided via a YAML
解锁网络编程之 NIO 的前世今生,语雀浏览链接:https://www.yuque.com/happyflyer/java-topics/bov6w0
Blocking implementations of server using java.nio: single thread.
Add a description, image, and links to the serversocketchannel topic page so that developers can more easily learn about it.
To associate your repository with the serversocketchannel topic, visit your repo's landing page and select "manage topics."