Varnish vs Nginx

Fedora 10 release note 提及 Varnish,据说“Varnish 是一个高性能 HTTP 加速器”,又看了一些其他网站的介绍,据说比 squid 快了好几倍。squid 是什么?没听说过。但既然同是反向代理服务器,Varnish 和 Nginx 相比如何?

我没实测,但引用别人的测试结论:

  • 根据 Connection Times 获知 Varnish 连接速度快于 Nginx,但 Nginx 处理速度快于 Varnish,等待时间几乎一致,总时间 Nginx 要快于 Varnish 15%左右。
  • 根据 HTML transferred 项获知大负载下 Varnish存在较多的丢包问题。

我想我还是坚持走 Nginx,并走好它。

Leave a comment

Your email address will not be published. Required fields are marked *