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

很多长连接(2w),仅连接保活,无业务情况,cpu忽然间隔很高:40%+ #388

Open
situnan opened this issue Aug 12, 2022 · 0 comments

Comments

@situnan
Copy link

situnan commented Aug 12, 2022

go serveWebsocket(server, conn, r)

是否golang 毛病? 一个用户一个携程情况下,大量的携程暂用大量的内存,此时间隔的GC 扫描大量内存,造成cpu间隔飙高,而无任何业务。。这样模式较难接受哈。

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