Skip to content

ManInM00N/study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

并发数:10

超时时间5s , 握手超时5s 使用pool 2m1s \pm 5s 命中率约5/7
超时时间5s , 握手超时5s 不使用pool 3m38s \pm 5s

超时时间10s , 握手超时10s 使用pool 2m1s \pm 5s 命中率约6/7
超时时间10s , 握手超时10s 使用pool 3m46 \pm 5s

并发数:100

超时时间5s , 握手超时5s 使用pool 50s \pm 5s 命中率约5/7
超时时间5s , 握手超时5s 不使用pool 100s \pm 5s

并发数:1000

超时时间5s , 握手超时5s 使用pool 15s \pm 2s 命中率15% 这位更是拉大的 🤡
超时时间5s , 握手超时5s 不使用pool 15s \pm 2s

极高并发的情况理论上不太好,同域名可能会有429,超时时间也影响访问的命中率,不过疑似校园网才是更大的客观因素
高并发导致我的网络占用高而访问不到网址(乐
使用读写分离可能还要更快
sync.pool 魅力时刻 🎉

update: 1/6
笔者并未发现client是并发安全的, 重新运行发现,使用pool 多此一举 🤡
早上起来一看校园网变好了,5s超时 命中率也接近6/7了

超时时间5s , 握手超时5s 35 \pm 5s 命中率约6/7

超时时间10s , 握手超时10s 40 \pm 5s 命中率约6/7

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages