Home  >  Q&A  >  body text

What is the difference between Lighttpd and Nginx?

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?

我想大声告诉你我想大声告诉你2712 days ago655

reply all(1)I'll reply

  • 漂亮男人

    漂亮男人2017-05-16 17:31:45

    Functional load balancing (proxy/fcgi balance), optimized for multi-core, lighty is not as good as nginx, and there is official support

    Lighty was once very popular. For example, Wikipedia, YouTube, domestic Douban, and Javaeye are all users of Lighty. Many technical communities, such as chinaunix, also had quite a few articles analyzing the mechanism and source code of Lighty in the early years. However, due to the chaotic planning of the development team, Changes, for example, there was originally a 1.5 to be released, but it was still aborted. In recent years (>=5), except for the bugfix version of 1.4 which has been released, there are no new features. In fact, look at the code submission of the lighttpd2.0 official repository You know the frequency, basically once every 3 to 4 months. It is a very good hybrid configuration plug-in architecture that integrates Lua (the original 1.4 mod_magnet has relatively limited functions). The official release is far away. On the other hand, nginx later caught up, three days There is a new version at both ends, and several new features have been added. As soon as the official support is strong, everything is easy to say. Moreover, lighty load balancing is too weak and nginx is too weak, and the official does not intend to improve it. Many large website front-ends have switched to nginx, and retail investors have followed suit. Then The number of evangelists, books, and plug-ins has also increased, and it has become more and more popular. As time goes by, many users of lighttpd have also switched to nginx. This is how the back wave (nginx) pushes the front wave (lighttpd), and the front wave dies. On the beach

    To sum up, I think that if you are familiar with nginx, there is no need to switch to lighttpd

    reply
    0
  • Cancelreply