You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Joaquin Menchaca <jm...@gobalto.com> on 2016/09/08 18:25:59 UTC

Netty Configurations in 1.0.2 still valid?

I forgot where I got this from, but in Storm 0.10.0, I used to do this:

# netty transport
storm.messaging.transport: "backtype.storm.messaging.netty.Context"
storm.messaging.netty.buffer_size: 16384
storm.messaging.netty.max_retries: 10
storm.messaging.netty.min_wait_ms: 1000
storm.messaging.netty.max_wait_ms: 5000


Are these valid in Storm 1.0.2?

-- 

是故勝兵先勝而後求戰,敗兵先戰而後求勝。

Re: Netty Configurations in 1.0.2 still valid?

Posted by "P. Taylor Goetz" <pt...@gmail.com>.
I would recommend removing that from your configuration and allow the defaults to take effect. The defaults are sane, and should only be overridden when necessary.

Here are the current defaults as of 1.0.2:

storm.messaging.netty.server_worker_threads: 1
storm.messaging.netty.client_worker_threads: 1
storm.messaging.netty.buffer_size: 5242880 #5MB buffer
storm.messaging.netty.max_retries: 300
storm.messaging.netty.max_wait_ms: 1000
storm.messaging.netty.min_wait_ms: 100
storm.messaging.netty.transfer.batch.size: 262144
storm.messaging.netty.socket.backlog: 500

-Taylor


> On Sep 8, 2016, at 2:25 PM, Joaquin Menchaca <jm...@gobalto.com> wrote:
> 
> I forgot where I got this from, but in Storm 0.10.0, I used to do this:
> 
> # netty transport
> storm.messaging.transport: "backtype.storm.messaging.netty.Context"
> storm.messaging.netty.buffer_size: 16384
> storm.messaging.netty.max_retries: 10
> storm.messaging.netty.min_wait_ms: 1000
> storm.messaging.netty.max_wait_ms: 5000
> 
> Are these valid in Storm 1.0.2?
> 
> --
> 
> 是故勝兵先勝而後求戰,敗兵先戰而後求勝。