- 2
- 0
- 约1.58万字
- 约 8页
- 2016-12-11 发布于贵州
- 举报
Design of high-performance server program which based on multithreads
Abstract: Along with the network applications rapid development, the high-performance server program highlights its important status more and more. In the article has designed a high-performance server program based on multi-threads, thus to puts forward good solutions to process client concurrent request problem. Firstly introducing the principle of IOCP model, then, using the Select model and the IOCP model respectively, put a different design method for the high-performance server program design, through comparing the time, CPU utilization and memory utilization ratio and many other parameters, concluded that IOCP provides the best performance of the system in design on the server. Finally puts forward design scheme of high-performance server program.
Keywords: Select model, IOCP model, Concurrency control, Event ; flow control
1 Introduction
At present there are many server programs use “one to one” disposing mode, namely one client takes a thread, designs on the architecture of server programs which based on this kind of pattern is very simple, but since uses is “a client/thread” pattern, therefore this kind of server program appears very low in the performance regarding over a thousand clients request connections, and is also costly on system resources. Because the operating system must carry on the dispatch for the massive threads, it will lose the massive system resources, and mutex control will also be very difficult, the deadlock occur frequency will greatly increase.
Nowadays the high performance server programs design becomes more and more important, the high performance server programs main function is that it can process massive concurrent clients request efficiently, and process clients data timely, simultaneously gives the part of the response information back to the client side. To design a good performance of server program, must consider many factors, like CPU utilization rati
您可能关注的文档
- 《基于单片机的节水灌溉系统设计毕业设计(论文)word格式》.doc
- 《基于单片机的节水灌溉系统设计毕业设计(论文)》.doc
- 《基于单片机的蓄电池在线状态监测系统word格式》.doc
- 《基于单片机的蓄电池容量测试系统开题报告》.doc
- 《基于单片机的自动门控系统设计本科毕业设计》.doc
- 《基于单片机的自来水供应装置的设计》.doc
- 《基于单片机的蓄电池电解液比重测量系统设计》.doc
- 《基于单片机的自行车测速系统设计本科毕业设计论文》.doc
- 《基于单片机的蔬菜大棚控制系统的硬件设计》.doc
- 《基于单片机的蓝牙家电开关控制系统设计毕业论文》.doc
- 2026年简易驾驶棚三齿松土器项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年支链氨基酸注射液项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年保温夹套法兰连接球阀项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年丝光渗透剂项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年不锈钢防护罩项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年秋千铰项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年调整螺栓项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年道路交通标识项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年拖轮型橡胶护舷项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年轧尖空模机项目可行性研究报告(市场数据调查、监测研究).docx
原创力文档

文档评论(0)