首页> 中文期刊>电子设计工程 >基于Linux的多线程池并发Web服务器设计

基于Linux的多线程池并发Web服务器设计

     

摘要

Today, Web services have become the most commonly used services on the Internet. Nowadays, Linux Web services are based mainly on process or thread mechanism, It is obvious that delay time will become longer when faced with a large number of concurrent requests. This is mainly caused by the low utilization and large resource consumption of the web server. This paper introduce a new web server, which is based on multi-threaded pool technology, making use of semaphore mechanism and producer-customer model to dispatch shared recourse, The final test results show that the new Web server provides better concurrent performance and service qualities.%时至今日,Web服务已成为互联网上最常用的服务。目前Linux平台的Web服务器主要基于进程或线程机制,面对大数量的并发请求,延时现象较为明显。这主要原因在于服务器存在着利用率不高,资源消耗大等问题。文中利用信号量机制和生产者一消费者模型,设计基于多线程池并发Web服务器能够更高效的实现资源调度与共享。文中最后的测试结果表明,设计实现的Web服务器具有更强的并发处理能力和服务效率。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号