Hello!
On Tue, Nov 17, 2015 at 2:02 PM, Bino Oetomo wrote:
> well , I think if this module will also use shared dict like
> lua-resty-upstream ... user will able to write external health check on
> their own.
>
Yes, ngx_stream_lua_module will eventually have all the Lua APIs
exposed by the existing ngx_http_lua_module which make sense in the
stream context, including but not limited to cosockets, shdicts, light
threads, coroutines, timers, and etc.
> in case of lua-resty-upstream i decide to set all host health check as
> False, and write my own .... that will set host up or down via it's restfull
> interface.
> With this ill be able to decide based on , i.e : Host CPU/RAM usage, MySql
> Table/database lock .. etc etc
> In fact, i'm just a python script kiddies. LUA is far beyond my ability.
>
Well, you're free to do whatever you see fit in the OpenResty world :)
BTW, Lua is not an acronym: http://www.lua.org/about.html#name
Regards,
-agentzh