
获得徽章 0
- apache 和 nginx 的区别:
nginx 相对 apache 的优点:
1、轻量级,同样起 web 服务,比 apache 占用更少的内存及资源
2、抗并发,nginx 处理请求是异步非阻塞的,支持更多的并发连接,而 apache 则是阻塞型的,在高并发下 nginx 能保持低资源低消耗高性能
3、配置简洁
4、高度模块化的设计,编写模块相对简单
5、社区活跃
apache 相对 nginx 的优点:
1、rewrite ,比 nginx 的 rewrite 强大
2、模块超多,基本想到的都可以找到
3、少 bug ,nginx 的 bug 相对较多
4、超稳定展开评论1