3 ms·
Interesting how NGINX + Lua is becoming more and more widely used in mission critical applications with huge amount of traffic. Since the introduction of LuaJIT
by sinzone 11y ago
Interesting how NGINX + Lua is becoming more and more widely used in mission critical applications with huge amount of traffic. Since the introduction of LuaJIT performances have been outstanding and many companies like Netflix, Alibaba, Cloudflare, Kong [0], Airbnb all run on a customized nginx with Lua modules; doing amazing things from security to API management.
[0] http://github.com/mashape/kong http://github.com/mashape/kong
- meowface 11y agoI predicted about a year ago that nginx/LuaJIT (OpenResty) is the sleeping giant of web development. I've seen more and more companies start using it, and I wouldn't be surprised if people start talking about it as a Node.js alternative in the not so distant future.
- sinzone 11y agoThe good thing about NGINX is that it's perceived as language agnostic. So no matter what your codebase lang, you can always put an nginx on top. While Node tools, are only good if you use them within a Node stack (see Strongloop). As far as I know nginx is powering 150M websites/apps.
- codinghorror 11y agoHAProxy will be using Lua in future releases for similar reasons. Interesting trend!
- sinzone 11y agoAnd Lua is taking off because of these reasons such as the ability to extend Nginx or HAproxy. Plus, is simple to use, easy to learn and highly efficient, without the need to touch C/C++.