摘要:
笔者在根据nginx的accesslog中$request_time进行程序优化时,发现有个接口,直接返回数据,平均的$request_time也比较大。原来$request_time包含了(服务器)接收用户数据的时间,而真正程序的响应时间应该用$upstream_response_time。 下面 阅读全文
posted @ 2016-11-08 17:50 mdong 阅读(2025) 评论(0) 推荐(0)
|
||
|
摘要:
笔者在根据nginx的accesslog中$request_time进行程序优化时,发现有个接口,直接返回数据,平均的$request_time也比较大。原来$request_time包含了(服务器)接收用户数据的时间,而真正程序的响应时间应该用$upstream_response_time。 下面 阅读全文
posted @ 2016-11-08 17:50 mdong 阅读(2025) 评论(0) 推荐(0) |
||