1 / 13

高并发下的网站调优

高并发下的网站调优. 倪顺 坚 @alibaba shunjianni@gmail.com. 应用服务器架构升级. 应 用服务器架构的发展历史 apache2.0+mod_jk+jboss4.0.5 apache2.2+mod_proxy+jetty7.2.0 Jetty NIO 介绍. 应 用服务器架构的发展历史. Apache+mod_wl+weblogic Apache+mod_wl+jboss4.0.5 Apache+mod_jk+jboss4.0.5 Apache+mod_proxy+jetty7.2.0. 两种多路处理模块 (MPM).

hieu
Download Presentation

高并发下的网站调优

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 高并发下的网站调优 倪顺坚@alibaba shunjianni@gmail.com

  2. 应用服务器架构升级 • 应用服务器架构的发展历史 • apache2.0+mod_jk+jboss4.0.5 • apache2.2+mod_proxy+jetty7.2.0 • Jetty NIO介绍

  3. 应用服务器架构的发展历史 • Apache+mod_wl+weblogic • Apache+mod_wl+jboss4.0.5 • Apache+mod_jk+jboss4.0.5 • Apache+mod_proxy+jetty7.2.0

  4. 两种多路处理模块(MPM)

  5. worker 配置 • Timeout 30 • KeepAlive On • MaxKeepAliveRequests 20000 • KeepAliveTimeout 30 • MaxRequestsPerChild 1000000 • <IfModule worker.c> ServerLimit 16 • StartServers 3 • MaxClients 1024 • MinSpareThreads 75 • MaxSpareThreads 250 • ThreadsPerChild 64 • </IfModule>

  6. 两种架构区别比较

  7. 老架构

  8. Thread pool for connection

  9. 新架构

  10. NIO/BIO 对servlet容器的抽象

  11. NIO/BIO

  12. Q&A

More Related