检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈亮平 罗南超 CHEN Liangping;LUO Nanchao(School of Mathematics and Computer Science,Aba Teachers University,Aba,China,623002)
机构地区:[1]阿坝师范学院数学与计算机学院,四川阿坝623002
出 处:《福建电脑》2019年第4期24-27,共4页Journal of Fujian Computer
基 金:阿坝师范学院校级青年基金基于校园服务器的负载优化和选课通道的压力缓解轻量级高并发服务器设计(No.ASC18-05);四川省教育厅项目基于Web招聘信息的专业人才技能需求文本挖掘(No.18ZB0007)资助
摘 要:本文对Linux内核2.6新诞生的I/O多路复用模型Epoll的运行机制进行研究,深入了解Epoll在内核的工作模式。并在Linux环境下运用C语言结合线程池技术实现一个Web服务器并进行压力测试。最后在1000的并发下,数据包丢失率极低,并且服务器对数据的处理也很快,对CPU和内存的消耗也不高。研究结果表明Epoll模式的Web服务器相对传统的I/O处理模式在高并发的情况下,Epoll模型的服务器有着良好的抗压能力。This paper studies the operating mechanism of the new I/O multiplexing model Epoll of Linux kernel 2.6,and deeply understands the working mode of Epoll in the kernel.In the Linux environment,a Web server is implemented with C language and thread pool technology,and the stress test is carried out.Finally,in the case of concurrency of 1000,the data packet loss rate is extremely low,the server processes the data very quickly,and the consumption of CPU and memory is not high.The research results show that the Epoll model of the Web server has a good compressive capacity compared to the traditional I/O processing mode in the case of high concurrency.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.117.158.108