I have been using Nginx as a server before, and now I have a project that uses Django. I want to try Lighttpd.
But looking at the data, it seems that Nginx is much more popular than Lighttpd. I did some performance tests and it seems to be similar. What is the reason why Nginx is so much more popular than Lighttpd? What are the problems with using Lighttpd?
功能上负载均衡(proxy/fcgi balance), 针对多核优化, lighty不如nginx, 还有官方的支持
lighty曾经很火过, 比如wikipedia、youtube、国内的豆瓣、javaeye都是lighty的用户, 很多技术社区,像chinaunix早几年也有相当多的解析lighty机制和源码的文章, 但是因为开发团队计划乱变更, 比如原先有个1.5要发布, 后来胎死腹中了, 近几(>=5)年来, 除了1.4一直放出bugfix版外没任何新特性, 其实, 看lighttpd2.0官方仓库的代码提交频率就知道了, 基本3~4个月一次, 很好的一个整合lua(原先1.4的mod_magnet相对功能实在有限)的混写配置插件的架构,正式发布遥遥无期. 反观nginx后来赶上, 三天两头一个新版, 几个新特性追加, 官方支持一给力就什么都好说了. 而且lighty负载均衡弱nginx太多, 官方又不打算改进, 很多大站前端都改用了nginx, 散户跟风主力, 接着布道者、书籍、插件数量也跟着上去了, 也就越来越火了, 随着时间流逝, lighttpd的用户也有不少转到了nginx, 这就是后浪(nginx)推前浪(lighttpd), 前浪死在沙滩上
综上, 我觉得, 你用熟了nginx就没必要换成lighttpd了