程序员 - webbench 对网站域名和IP分别做测试 性能差距特别大
迷茫
迷茫 2017-04-24 15:59:17
0
4
971
 webbench -c 500 -t 30 'http://oo-o.cn/'
Speed=6560 pages/min, 44762 bytes/sec.

但是如果直接访问ip地址204.77.6.51性能就特别好

 webbench -c 500 -t 30 'http://204.77.6.51/'
Speed=301272 pages/min, 2189243 bytes/sec.

请问如何优化

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(4)
小葫芦

Are you sure to directly press the IP backend and remove the business logic? , looking at this data, it looks like the request was blocked directly before reaching the backend

習慣沉默

It’s obviously not the same page when you open it.

仅有的幸福

Did you use a server’s default static page for comparison testing? The two returned things are different, of course there is a big gap.

某草草

Please configure your oo-o.cn as default

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template