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

客户端用 Netty,太重了吧 #1

Open
lchad opened this issue Apr 10, 2019 · 8 comments
Open

客户端用 Netty,太重了吧 #1

lchad opened this issue Apr 10, 2019 · 8 comments

Comments

@lchad
Copy link

lchad commented Apr 10, 2019

netty 一个 jar 包进来,2W+个方法,谁能顶得住?
有考虑 jar 包做裁剪么?

@FreddyChen
Copy link
Owner

这个博客上有说的,只是起一个抛砖引玉的作用,供大家作个参考,目前用的是netty-all包,可以选用别的,也可以考虑作jar包裁剪的哈

@jmhjmh
Copy link

jmhjmh commented Apr 22, 2019

要是有openfire的就好了

@lchad
Copy link
Author

lchad commented Apr 22, 2019

连接层用 SocketIOWebSocket 更好吧

@FreddyChen
Copy link
Owner

连接层用 SocketIOWebSocket 更好吧

都可以的,这个只是其中一种,后续会基于UDP和WebSocket写一篇文章。

@FreddyChen
Copy link
Owner

要是有openfire的就好了

目前没有

@FreddyChen
Copy link
Owner

netty 一个 jar 包进来,2W+个方法,谁能顶得住?
有考虑 jar 包做裁剪么?

jar包已做裁剪,望知悉。

@lchad
Copy link
Author

lchad commented Apr 23, 2019

具体裁剪了哪部分,能介绍一下么?

@FreddyChen
Copy link
Owner

具体裁剪了哪部分,能介绍一下么?

这里不好贴图,文章里有介绍,在文章的下方。https://juejin.im/post/5c97ae12e51d45580b681b0b

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

3 participants