我的网站放了一份数据在本地mysql,又放了一份在rds上的mysql。ab测试首页,发现rds比本地的要慢
ab -n 100 -c 4 http://xx.xx.xx.xx/
==========这是本地的分割线===========================
Total transferred: 807900 bytes
HTML transferred: 760800 bytes
Requests per second: 81.95 [#/sec] (mean)
Time per request: 48.808 [ms] (mean)
Time per request: 12.202 [ms] (mean, across all concurrent requests)
Transfer rate: 646.59 [Kbytes/sec] received
==========这是rds的分割线===========================
Total transferred: 807900 bytes
HTML transferred: 760800 bytes
Requests per second: 59.27 [#/sec] (mean)
Time per request: 67.488 [ms] (mean)
Time per request: 16.872 [ms] (mean, across all concurrent requests)
Transfer rate: 467.62 [Kbytes/sec] received
我想rds应该是有其自身优势的,那么rds的优势主要体现在哪里呢?
-------------------------
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。