jprjr/lua-resty-exec

Does this module support concurrent calls?

Closed this issue · 1 comments

Thanks for writing this module - it works perfectly. But I saw you used single file /tmp/exec.sock as the data pipe for executing the command and retrieve the result. What happens if multiple worker processes execute commands at the same time? Do the results mix up? Thanks.

Oh, I just checked https://github.com/jprjr/sockexec, the concurrent calls should be handled properly in individual connections.

Note: sockexec -m option is a good choice for massive concurrent calls. :-)