t9913085 发表于 2019-2-22 20:17:20

KS

服务器环境:Vicer锐速+Varnish+tengine+apache+php+mysql

http://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的资料好少啊,大家怎么都不玩啊

30826 发表于 2019-2-22 20:22:27

著名的E绅士好像就用这玩意

ghyghoo8 发表于 2019-2-22 20:25:45

大佬这个和nginx的缓存比有什么优势吗
和各类wp缓存插件比起来呢

平僧洗头用飘柔 发表于 2019-2-22 21:43:19

PHP不需要整这些 “花里胡巧”的, PHP7 + Redis + Opcache 飞起

openos 发表于 2019-2-22 21:46:20

Varnish支持https吗?

ghyghoo8 发表于 2019-2-22 21:55:39


openos 发表于 2019-2-22 21:55

Varnish支持https吗?

似乎不支持,要 nginx(https) > varnish > nginx
https://lala.im/2924.html

有容乃大 发表于 2019-2-22 21:57:50

速度很快啊

nuet 发表于 2019-2-22 21:55:00

不懂技术

openosvForce 发表于 2019-2-22 21:58:06


ghyghoo8 发表于 2019-2-22 21:57

似乎不支持,要 nginx(https) > varnish > nginx
https://lala.im/2924.html
那我放弃了, 继续用nginx就好了.
nginx的缓存也不错如果只是静态页,那多快都不稀奇吧。缓存能力测试的另一方面我觉得是逐出机制/命中率,这样对做站来说更真实一点

周润发 发表于 2019-2-22 22:01:13

n前端反带后端就可以了 n+a非常好的组合
页: [1] 2
查看完整版本: KS