摘要:
协程 1.例如当获取的数据没有前后依赖关系时,可以使用ngx.thread.spawn和ngx.thread.wait同时从数据库不同的库、表或者不同来源(mysql,redis等)获取数据。 https://github.com/openresty/lua nginx module ngxthre 阅读全文
摘要:
结果: 具体请看文档:https://github.com/openresty/lua nginx module ngxnow 阅读全文