Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于 gfwlist 性能相关的建议 #2531

Open
Jasdent opened this issue Apr 8, 2024 · 0 comments
Open

关于 gfwlist 性能相关的建议 #2531

Jasdent opened this issue Apr 8, 2024 · 0 comments

Comments

@Jasdent
Copy link

Jasdent commented Apr 8, 2024

目前用 rule 来进行 autoswitch 的判断逻辑是「如果网站存在 gfwlist 的话走 proxy」,但事实上墙外的网站数量远大于墙内的数量,一方面要进行大量的检查,另一方面遇到比较小众的海外网站会有明显卡顿(注:这种卡顿如果是直接使用 proxy 模式的话是能很快加载出来的,autoswitch 模式会卡一会,所以判断是在查 rule 上耗费时间过长),如果维护一个墙内网站的 list,命中就直连,需要进行判断会少很多,考虑到墙内一些网站用海外服务器也能访问,在可用性方面不会有太大的问题,只需要关注大流量的、主流的网站即可,维护成本也会小很多。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant