[zeromq-dev] HWM default
Pieter Hintjens
ph at imatix.com
Sun May 8 10:30:46 CEST 2011
On Sun, May 8, 2011 at 8:15 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> I though of changing the default value for HWM to say 1000 in 0MQ/3.0.
It's a good idea but IMO it should be done as a context configuration option.
In czmq I've added the ability to configure a context (e.g. to specify
the number of i/o threads) separately from context creation. This lets
us make context-global settings like HWM, LINGER, etc.
The technique czmq uses is to only actually create the context at
first use, i.e. when a socket is created or when a thread is spawned.
You could do this in 3.0 as well.
-Pieter
More information about the zeromq-dev
mailing list