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

Bug: the package size should not be greater than 8MiB #1839

Closed
AlexStocks opened this issue Apr 16, 2022 · 3 comments
Closed

Bug: the package size should not be greater than 8MiB #1839

AlexStocks opened this issue Apr 16, 2022 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@AlexStocks
Copy link
Contributor

AlexStocks commented Apr 16, 2022

What happened:

在 dubbogo 中,很多处定义 package size 不能大于 8MiB

image

What you expected to happen:

image

如上,既然给用户开了 getty session param 中 设定 max msg len 的口子,就不应该有上面这个限制

@AlexStocks AlexStocks added the help wanted Extra attention is needed label Apr 16, 2022
@sheny1xuan
Copy link
Contributor

I am new here. Plz assign to me,I'll do it.

@AlexStocks
Copy link
Contributor Author

AlexStocks commented Apr 19, 2022

@AlexStocks dubbo框架限制了8M大小: https://github.com/apache/dubbo/blob/868c02cbc3d1f85a92b0cdc1a98ad49372228a23/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/Constants.java#L74

The reply from dubbo is "netty这边用的是共享链接,也就是所有服务共用一条tcp", so "dubbo 有个限制,包的长度不能超过 8MiB".

如果不用dubbo,只用 dubbogo,那这个限制 dubbogo 可以去掉。但现在dubbo这么搞,dubbogo也只能跟着这么玩了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants