Hello!
On Mon, Mar 9, 2015 at 6:44 PM, Bharani Subramaniam wrote:
> Though the code is very neatly named and written i need some help in
> figuring out where to start. Any pointers to help me figure out how
> coroutine and event loop is integrated is appreciated.
>
Yeah, I owe the community a good set of documentation on ngx_lua's
internals. All we have right now is just some brief discussion of the
implementation in ngx_lua's user manual:
https://github.com/openresty/lua-nginx-module#readme
chaoslawful used to write a very high level overview for ngx_lua too:
https://github.com/openresty/lua-nginx-module/wiki/Introduction
But it's very abstract.
For the moment, the best place to get enlightened is the source code
base. You're welcome to ask questions about specific implementation
details here. I'll try my best to answer them. But I don't have the
time to give very elaborate explanation of the whole code base right
now. Sorry.
Best regards,
-agentzh