We aim to invent a supervisory control system of vehicles based on Java NIO. As we know, it needs to connect a large number of client terminals to accomplish the function of the vehicle supervisorycontrolsystem and ...
详细信息
ISBN:
(纸本)9783037856932
We aim to invent a supervisory control system of vehicles based on Java NIO. As we know, it needs to connect a large number of client terminals to accomplish the function of the vehicle supervisorycontrolsystem and if the server is developed by the traditional blocking I/O, severe blocking problem will appear. To solve the problem, the traditional server has to distribute one thread for each client, which leads to system overload and reduces the server's high-performance. The new supervisorycontrolsystem which we invent, however, can solve this problem effectively by the use of asynchronous input and output mechanisms provided by the new non-blocking I/O. The new server can manage a large number of socket communications with a single thread, reducing the system overhead and improving the server's performance.
暂无评论