[OpenSIPS-Users] BIN Interface updates

Ionel Cerghit ionel.cerghit at gmail.com
Tue Aug 18 16:10:21 CEST 2015


Hello,

The BIN interface is designed for high-traffic data exchange between
multiple OpenSIPS interfaces. This requires a fast, reliable and lossless
transport for the BIN interface. Unfortunately, the existing UDP transport
for BIN showed significant package loss under high traffic even in a
private network.


OpenSIPS 2.2 (devel version) has just switched to TCP transport for BIN
interface. This resolves all the reliability and loss problems. Even more,
the TCP transport in BIN engine takes advantage of the Asynchronous
Reactor, avoiding any potential blocking on reading/writing to the BIN
connections.


The old UDP transport support was dropped, while the TCP transport is now
provided in a modular way via the “proto_bin” transport module.

For detecting incompatibilities at BIN level,  a version field was added to
the header of the protocol to stop errors from occurring when two OpenSIPS
instances with different version of the protocol exchange BIN messages. So
please note that BIN in 2.2 is not backward compatible !

Thank you,

Ionel Cerghit

OpenSIPS junior developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150818/8a5ed92f/attachment.htm>


More information about the Users mailing list