随笔分类 - Web
构建高性能web之路------工具和环境准备篇(转)
摘要:一.web服务器1)apacheapache分为很多模式,大家最熟悉有prefork和worker两种,在linux上安装apache可见文档值得注意的是prefork和worker的选择是在编译期,在make之前就需要选定安装的模式,如:./configure --with-mpm=prefork./configure --with-mpm=worker二.压力工具1)abab为apache内置的压力工具,功能简单实用方便,使用实例如:/usr/alibaba/install/httpd-2.0.63-prefork/bin/ab -c 100 -n 1000000 http://local
阅读全文
浙公网安备 33010602011771号