基于IOCP的集卡车辆监控系统的设计
he design for traffic monitoring system based on IOCP
在B/S模式下,客户端的接入量是检验一个服务器性能的重要指标之一。为了能够满足大量客户同时在线的要求,数据接入端服务器的设计就显得尤为重要。作为Windows系统上服务器端程序开发的机制,完成端口(IOCP)越来越受到人们的重视,它不仅能够满足海量客户端接入的需求,而且在充分利用计算机的性能、为操作系统节省大量空间和时间等方面表现出了相当的优越性。本文正是根据实际情况的需要,选择了完成端口而非多线程作为数据接入的方式,设计出高性能的、实时性强的服务器端,为车辆监控系统的设计实现提供了坚实的技术保障。
In the B/S mode, the amount of client's access to a server is an important indicator for the system performance. In order to meet the requirements of a large number of customers online at the same time, the design of server will be critical. As the mechanism of the server-side on Windows system, we are taking more and more attention to the completion port which can not only meet the massive demand for client access, but also exhibits a considerable advantage on the full use of the computer's performance, saving a lot of space and time. According to actual condition, this paper chose the completion port rather than multi-thread as data access mode, designing out the high performance and strong real-time property servers,with which providing the solid technical support for the system.
贡岩军、周彩根
公路运输工程自动化技术、自动化技术设备计算技术、计算机技术
完成端口(IOCP)线程池内存预分配
Completion port(IOCP)Thread poolMemory predistribution
贡岩军,周彩根.基于IOCP的集卡车辆监控系统的设计[EB/OL].(2011-06-14)[2025-08-18].http://www.paper.edu.cn/releasepaper/content/201106-277.点此复制
评论