[zeromq-dev] Java API visibility

Steven McCoy steven.mccoy at miru.hk
Wed Jun 24 05:35:16 CEST 2009


2009/6/10 Martin Sustrik <sustrik at fastmq.com>:
> 0MQ was originally intended for environments with a need for extra-high
> reliability. The asserts are intended to prevent sweeping the errors
> under the carpet. Each assert indicates problem with the application
> that should be solved before moving it into production.
>
> However, in the meantime it turned out that majority of 0MQ users don't
> care about reliability as much as to use long debugging and testing
> cycles required by above fast-fail methodology.
>
> To address this trend, the new zsockets API will return POSIX errors
> rather than asserts.

What I am starting to do with OpenPGM is raise asserts on all internal
calls, but return errors on all public API functions.

-- 
Steve-o



More information about the zeromq-dev mailing list