高级检索

    基于ASPED模型的高性能Web服务器

    A HIGH PERFORMANCE WEB SERVER BASED ON THE ASPED MODEL

    • 摘要: 主要内容是关于当设计高性能 Web服务器时 ,如何解决快速 CPU处理能力和慢速磁盘访问之间的矛盾 .前半部分主要讨论现有 Web服务器模型的优缺点 ,后半部分描述了异步单进程事件驱动 (ASPED)模型及其实现 .ASPED是一个综合 SPED,AMPED优势和异步 I/ O思想的 Web服务器模型 .为证明该模型的先进性 ,据此编码了一个 Web服务器 Jaguar.经 Spec Web99测试 ,Jaguar的性能要比基于 AMPED模型的 Web服务器 Flash的性能最多好 2 0 %

       

      Abstract: What is descussed in this paper is how to reduce the gap between rapid processing power of CPU and long latency of disk access in designing a high performance Web server. First, discussed are pros and cons about current Web server models, including multi process model, multi threaded model, single process event driven (SPED), and asymmetric multi process event driven model (AMPED). Then an asynchronous single process event driven (ASPED) model is presented. ASPED integrates the idea of asynchronous I/O and the advantages of SPED and AMPED. It improves the I/O processing of the file systems by changing the blocking of accessing disks to nonblocking, thus avoiding the Web server’s suspending because of the blocking which leads to the idling of the CPU. In order to show the advantages of this new model, a Web server-Jaguar is implemented based on ASPED. Through SpecWeb99 testing, the performance of Jaguar is higher than that of the Web server Flash based on AMPED by up to 20%.

       

    /

    返回文章
    返回