[zeromq-dev] Should zeromq handle OOM? (Re: [PATCH] Fixed OOM handling while writing to a pipe)
ph at imatix.com
Sat May 21 11:31:38 CEST 2011
On Sat, May 21, 2011 at 11:27 AM, Paul Colomiets <paul at colomiets.name> wrote:
> Something realistic I can try to hack is:
> 1. turn off disconnecting on OOM (so that new connection would not crash
> 2. fix everything about sending/receiving messages
> 3. setup a two zmq_streamer-like devices (old code and new code) opened to
> the exernal world, so that anybody can test, set small ulimit -a for both
> 4. setup a slow consumer which also shows statistics from both devices
> Will having this example working convince you?
It definitely sounds better than philosophical discussions :-)
If you can make this work, I think we have a solid basis for proving
or disproving various OOM handling approaches.
More information about the zeromq-dev