clb-quic-demo icon indicating copy to clipboard operation
clb-quic-demo copied to clipboard

quic性能对比h2

Open wanghui0720 opened this issue 6 years ago • 1 comments

我自己用caddy搭建了一个支持quic的简易服务器,用的是腾讯云主机 2核2g4m带宽。 ^Cnash:/ # ping fatdog.com.cn PING fatdog.com.cn (123.206.27.238) 56(84) bytes of data. 64 bytes from 123.206.27.238: icmp_seq=1 ttl=51 time=30.6 ms 64 bytes from 123.206.27.238: icmp_seq=2 ttl=51 time=24.3 ms 64 bytes from 123.206.27.238: icmp_seq=3 ttl=51 time=35.6 ms 64 bytes from 123.206.27.238: icmp_seq=4 ttl=51 time=23.7 ms

PING stgwhttp2.kof.qq.com (101.226.76.237) 56(84) bytes of data. 64 bytes from 101.226.76.237: icmp_seq=1 ttl=53 time=27.5 ms 64 bytes from 101.226.76.237: icmp_seq=2 ttl=53 time=43.9 ms 64 bytes from 101.226.76.237: icmp_seq=3 ttl=53 time=46.2 ms 64 bytes from 101.226.76.237: icmp_seq=4 ttl=53 time=45.6 ms 64 bytes from 101.226.76.237: icmp_seq=5 ttl=53 time=37.1 ms 64 bytes from 101.226.76.237: icmp_seq=6 ttl=53 time=55.3 ms 64 bytes from 101.226.76.237: icmp_seq=7 ttl=53 time=45.2 ms 64 bytes from 101.226.76.237: icmp_seq=8 ttl=53 time=44.3 ms

ping检测我的那个云主机 网络还好一些,但是用该项目提供的demo, quic协议是比 h2快。 但是用我自己的那个服务器,quic协议就比h2慢。 我是自己编译的chromium64的网络库 quic协议39版本。 服务器证书用的let's encrypt。 这个问题会是什么? 有没有联系方式啊? 请教一下。

wanghui0720 avatar Feb 09 '18 02:02 wanghui0720

有可能是你服务端 caddy的quic设置有问题?可以把处理时间都打印出来分析一下。

studytnot avatar Mar 01 '18 02:03 studytnot