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
mrchengwenlong opened this issue Apr 27, 2020 · 1 comment

Comments

@mrchengwenlong
Copy link

@mrchengwenlong mrchengwenlong commented Apr 27, 2020

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

@crossoverJie
Copy link
Owner

@crossoverJie crossoverJie commented Apr 28, 2020

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

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

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.