KS
服务器环境:Vicer锐速+Varnish+tengine+apache+php+mysqlhttp://5.135.167.116/wp/
http://5.135.167.116/p.php
http://5.135.167.116/t.php
在KS-1本机测试的
root@hxs-server:~# webbench -c 5 -t 100 http://5.135.167.116/wp
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking: GET http://5.135.167.116/wp
5 clients, running 100 sec.
Speed=
234376 pages/min
, 2268785 bytes/sec.
Requests: 390627 susceed, 0 failed.
===============================
PS:
Varnish的资料好少啊,大家怎么都不玩啊 著名的E绅士好像就用这玩意 大佬这个和nginx的缓存比有什么优势吗
和各类wp缓存插件比起来呢 PHP不需要整这些 “花里胡巧”的, PHP7 + Redis + Opcache 飞起
Varnish支持https吗?
openos 发表于 2019-2-22 21:55
Varnish支持https吗?
似乎不支持,要 nginx(https) > varnish > nginx
https://lala.im/2924.html 速度很快啊 不懂技术
ghyghoo8 发表于 2019-2-22 21:57
似乎不支持,要 nginx(https) > varnish > nginx
https://lala.im/2924.html
那我放弃了, 继续用nginx就好了.
nginx的缓存也不错如果只是静态页,那多快都不稀奇吧。缓存能力测试的另一方面我觉得是逐出机制/命中率,这样对做站来说更真实一点 n前端反带后端就可以了 n+a非常好的组合
页:
[1]
2