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

路由和server用okhttp通信,在并发较高的情况下会出现请求等待吧,okhttp最大请求才64 #94

Open
CWTakiku opened this issue Apr 27, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@CWTakiku
Copy link

CWTakiku commented Apr 27, 2020

这里的路由和server通信是否可以用一个长连接来维护更好

@crossoverJie crossoverJie added enhancement New feature or request good first issue Good for newcomers labels Apr 28, 2020
@crossoverJie
Copy link
Owner

短期内如果有这个问题其实可以直接扩容 Route,但这样瓶颈又会转移到 server 端。

所以长期来看确实使用 TCP 私有协议效率高些,不过这个改动会比较大,得慎重考虑一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants