[
https://issues.apache.org/jira/browse/ROCKETMQ-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272636#comment-16272636
]
ASF GitHub Bot commented on ROCKETMQ-308:
-----------------------------------------
fuyou001 opened a new pull request #199: [ROCKETMQ-308] Increasing name server
component network socket buffer size
URL: https://github.com/apache/rocketmq/pull/199
## What is the purpose of the change
Increasing name server component network socket buffer size, improve broker
register speed, resolve the issue
[ROCKETMQ-308](https://issues.apache.org/jira/browse/ROCKETMQ-308)
## Brief changelog
delete `NamesrvStartup ` set network socket buffer code,using default value.
delete code
```java
if (null ==
System.getProperty(NettySystemConfig.COM_ROCKETMQ_REMOTING_SOCKET_SNDBUF_SIZE))
{
NettySystemConfig.socketSndbufSize = 4096;
}
if (null ==
System.getProperty(NettySystemConfig.COM_ROCKETMQ_REMOTING_SOCKET_RCVBUF_SIZE))
{
NettySystemConfig.socketRcvbufSize = 4096;
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> increasing name server component network socket buffer size, improve broker
> register speed
> ------------------------------------------------------------------------------------------
>
> Key: ROCKETMQ-308
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-308
> Project: Apache RocketMQ
> Issue Type: Improvement
> Components: rocketmq-namesrv
> Affects Versions: 4.0.0-incubating, 4.1.0-incubating
> Reporter: yubaofu
> Assignee: Xiaorui Wang
> Priority: Trivial
> Fix For: 4.2.0
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)