Hello!
On Sun, May 10, 2015 at 2:34 AM, Vijay Panghal wrote:
>
> Just to correct my post, when I said non-blocking file IO, I meant
> asynchronous file IO.
>
Hopefully you're not talking about the AIO thing, which has severe
limitations especially on Linux.
The state of the art with blocking file I/O operations is to use OS
thread pooling. AFAIK, nginx 1.9.x already adds an experimental OS
thread pool for file I/O, which we may expose to the Lua land in
ngx_lua. Patches welcome :)
Best regards,
-agentzh