/plushcap/analysis/cloudflare/pushing-nginx-to-its-limit-with-lua

Pushing Nginx to its limit with Lua

What's this blog post about?

Matthieu Tourne from CloudFlare shares how they use Nginx, a popular reverse proxy service, with Lua, a scripting language that is easy to integrate and has minimalistic design. They have been adding more simple services written in Lua to their infrastructure. The benefits of using Nginx+Lua include its asynchronous nature, blazingly fast speed due to the LuaJIT interpreter, and no need for callbacks. An example of a log aggregator for Nginx is provided, which can be added to any existing configuration. Using Lua instead of custom C modules allows for adding interesting new capabilities to Nginx while being easy to write and maintain.

Company
Cloudflare

Date published
Dec. 8, 2012

Author(s)
Matthieu Tourne

Word count
940

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.