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.
请问如何优化
高洛峰2017-04-24 16:01:17
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
仅有的幸福2017-04-24 16:01:17
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.