摘要
设计了一个高性能的C/S服务器端的关键部分,包括I/O模型、服务器集群和数据包自适应处理等。其中I/O模型是高性能服务器的瓶颈。针对几种服务器架构和I/O模型,将SELECT、POLL、多进程、多线程同步阻塞I/O、完全端口和EPOLL进行了比较,实测数据证明,EPOLL较其他几种端口的性能优越,也比Windows中的完全端口具有更好的性能。
The key problems to design a high performance server of C/S architecture were illustrated, including I/ O model, server cluster, packet self adjust, etc. I/O model was the bottleneck of high performance. Some of I/O models were introduced and compared, such as SELECT, POLL, multi-process, multi-thread synchronize blocking I/O, IOCP, and EPOLL. The obtained data prove that EPOLL performs excellently, and is better than IOCP of Windows.
出处
《交通与计算机》
2007年第1期129-131,共3页
Computer and Communications