alibaba / tengine

A distribution of Nginx with some advanced features
https://tengine.taobao.org
BSD 2-Clause "Simplified" License
12.76k stars 2.52k forks source link

What are the advantages of using ngx_ingress_module over ngx_http_lua_module? #1922

Closed tangxiao187 closed 6 months ago

tangxiao187 commented 6 months ago

I find Tengine implement a C module _ngx_ingressmodule to dynamic load domain and certificates, instead of _ngx_http_luamodule. Is there some special considerations or advantages of using ngx_ingress_module rather than lua?

lianglli commented 6 months ago

ngx_ingress_module 是云原生网关tengine-ingress配套tengine的C module,支持K8s Ingress标准规范,且所有域名,路由,证书均支持无损动态生效。在功能和性能方面都远超Lua脚本。

详见:https://tengine.taobao.org/blog.html

tangxiao187 commented 6 months ago

Thanks. Is there any router-searching benchmark between _ngx_ingressmodule and Lua?