Hello!
On Fri, Dec 12, 2014 at 4:08 PM, Lord Nynex wrote:
> I've been looking forward to UDP server support for quite awhile. I have
> some needs and ideas around DNS. I'm not sure I can help on the core work
> but I'll gladly start deving against it from an implementation and tests
> perspective.
>
Cool :)
> Additionally, (just my humble opinion) it would be an amazing addition to
> somehow support ZMQ and Mongo DB. There is a very vibrant mongodb community
> but what I've found so far doesn't seem complete. I know Nginx has plans in
> the next year to try and include V8/Inline JS. I think adding ZMQ and
> MongoDB support keeps openresty competitive with NodeJS.
>
I'd like to rely on the community for doing these. AFAIK, there's
already more than one Lua binding for MongoDB for OpenResty.
If the community decides one best lua-resty-* library for inclusion in
the OpenResty bundle, then I'll do it. The inclusion will become much
less important once we have the package management site and toolchain
ready anyway.
If any of the lua-resty-* libraries require any fundamental
functionalities that have to be in the ngx_lua core, feel free to let
me know :)
> Also, if I were to make a wish list, I would love lua bindings to Nginx
> RBTree.
>
The nginx rbtree is not really suitable for exposing to a dynamic
language as-is, we may need a separate C layer atop it to form a
proper ABI. This can be done in a separate nginx C module that extends
ngx_lua's Lua API, just as the ngx_lua_upstream module:
https://github.com/openresty/lua-upstream-nginx-module
Or in other words, this does not have to be in the ngx_lua core :)
You're welcome to contribute your own ngx_lua_rbtree module to the
community ;)
Thank you for your feedback!
Regards,
-agentzh