另一个选择是使用 ngx.thread.spawn 发起多个轻量级线程,然后在每个线程中自己通过 lua-resty-http-simple 这样的 http 客户端库发起后端请求(而不用使用子请求和 ngx_proxy 模块): https://github.com/bakins/lua-resty-http-simple
你要仔细看别人的回答,已经写得很清楚了!BTW:你这样重复发邮件很烦人,我们没有义务一定要侍候你这种伸手党!另一个选择是使用 ngx.thread.spawn 发起多个轻量级线程,然后在每个线程中自己通过 lua-resty-http-simple 这样的 http 客户端库发起后端请求(而不用使用子请求和 ngx_proxy 模块): https://github.com/bakins/lua-resty-http-simple 发自我的 iPhone在 2014年11月14日,上午9:58,ruiyin chen <cry...@gmail.com> 写道:另一个选择是使用 ngx.thread.spawn 发起多个轻量级线程,然后在每个线程中自己通过 lua-resty-http-simple 这样的 http 客户端库发起后端请求(而不用使用子请求和 ngx_proxy 模块): https://github.com/bakins/lua-resty-http-simple