zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] maoling commented on issue #784: ZOOKEEPER-974: Allow a configurable ZooKeeper server socket listen ba…
Date Mon, 28 Jan 2019 08:40:48 GMT
maoling commented on issue #784: ZOOKEEPER-974: Allow a configurable ZooKeeper server socket
listen ba…
URL: https://github.com/apache/zookeeper/pull/784#issuecomment-458040255
 
 
   - very useful property.IMHO,we can set the default value of clientPortBacklog to a bigger
one(e.g `500`).
   if `clientPortBacklog` = -1,it will use the default value:[50 ](https://docs.oracle.com/javase/7/docs/api/java/net/ServerSocket.html#bind(java.net.SocketAddress)
   ) (too small if server has many incoming requests).
   - need a doc.it's better to write something like this:
   	 
   
   > In high requests-per-second environments you need an high backlog in order
   > 	 to avoid slow clients connections issues. Note that the Linux kernel
   > 	 will silently truncate it to the value of /proc/sys/net/core/somaxconn so
   > 	 make sure to raise both the value of somaxconn and tcp_max_syn_backlog
   > 	 in order to get the desired effect.if clientPortBacklog = -1,it will use the default
value:50
   
   BTW, @joshelser   Sir,nice to see you in the zookeeper community.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message