Hello!
On Thu, Jan 31, 2013 at 1:24 AM, alain meunier wrote:
> Do you have any benchmarks with rewriting made in lua ?
>
> I have some plans to convert my nginx rewrites in lua.
> You are much more experienced than I am with Lua. Do you think I will get a
> substantial performance increase ?
>
Well, it depends on a lot of factors.
Moving complicated Nginx configuration into Lua generally makes your
nginx.conf much cleaner but I won't say it will give you "substantial
performance increase" because all of the Nginx configuration
directives are carefully implemented in hand-written C anyway.
If you're running dynamic web apps with something like PHP, Perl,
Ruby, and Python, then it's very likely that moving your whole app
over to Lua will give you "substantial performance increase" :)
I'm cc'ing the openresty-en mailing list:
https://groups.google.com/group/openresty-en And you're very welcome
to join there to discuss such things :)
Best regards,
-agentzh