Hello!
On Thu, Mar 10, 2016 at 6:26 PM, Alexandr Roman wrote:
> Yeah, I saw this. But my question is how to check that connection really use
> cosockets? Is there some functions to show current state of pool? Or I'm too
> concerned and have to relax and believe? ;)
>
lua-resty-mysql is built upon cosockets. You can check its Lua source code.
If you still want to be sure that it's not using any blocking
operations, you can try the off-CPU flame graph tool to verify a busy
nginx worker in production or in development environments:
https://openresty.org/#Profiling
Regards,
-agentzh