且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

优化网络和应用性能必知的三个经典响应时间点

更新时间:2022-07-02 07:20:44

ps:关于响应时间的学术支撑,至少花费2天时间没有Google到。现在偶然发现并整理如下:


1、系统响应时间定义

系统响应时间是指用户发出完整请求道系统完成任务给出响应的时间间隔。系统的响应时间对每个用户来说都是不一样的,以下因素会影响系统的平均响应时间:


(1)和业务相关,处理不同的业务会有不同的响应时间。


(2)和业务组合有关,业务之间可能存在依赖关系或其他,也会互相影响。


(3)和用户数量有关,大并发量会严重影响响应时间。


有多种方法来测试响应时间,常用的有两种,首字节响应时间和末字节响应时间。


2、3个经典的时间点

米勒1968年曾经给出了3个经典的有关响应时间的建议,至今仍有参考价值:


0.1 秒: 用户感觉不到任何延迟。


1 秒: 用户愿意接受的系统立即响应的时间极限。即当执行一项任务的有效反馈时间在0.1~1秒之内时,用户是愿意接受的。超过此数据值,则意味着用户会感觉到有延迟,但只要不超过10秒,用户还是可以接受的。


10 秒:用户保持注意力执行本次任务的极限,如果超过此数值时仍然得不到有效的反馈,用户会在等待计算机完成当前操作时转向其他的任务。


3、新技术来临,但这三个经典时间点不会变

Therefore, the response time guidelines for web-based applications are the same as for all other applications. These guidelines have been the same for 46 years now, so they are also not likely to change with whatever implementation technology comes next.


4、详细请参考文献及链接

【鼻祖米勒】Miller, R. B. (1968). Response time in man-computer conversational transactions. Proc. AFIPS Fall Joint Computer Conference Vol. 33, 267-277.


米勒论文下载地址:http://dl.acm.org/citation.cfm?id=1476628


Myers, B. A. (1985). The importance of percent-done progress indicators for computer-human interfaces. Proc. ACM CHI’85 Conf. (San Francisco, CA, 14-18 April), 11-17.


Card, S. K., Robertson, G. G., and Mackinlay, J. D. (1991). The information visualizer: An information workspace.Proc. ACM CHI’91 Conf. (New Orleans, LA, 28 April-2 May), 181-188.


http://www.cnblogs.com/elewei/p/4833305.html

https://www.nngroup.com/articles/response-times-3-important-limits/

http://ux.stackexchange.com/questions/59733/will-forcing-response-time-to-the-average-time-as-a-minimum-improve-ux