[zeromq-dev] Is zmq suitable for p2p protocols?

Benjamin Henrion bh at udev.org
Fri Apr 13 11:24:31 CEST 2012

2012/4/12 Jorge Timón <timon.elviejo at gmail.com>:
> Hi, we're discussing some things about a distributed protocol in the
> ripple forum and I proposed to use ZeroMQ to build a prototype server.
> We want the p2p protocol to be transport independent but we're going
> to probably just use TCP as a start.
> I posted here before to ask about the possibilities of extending zmq
> to use tor, i2p, etc. Thank you for your answers then.

I am trying to use zeromq as a loadbalancer to connect to N tor TCP proxies.

Right now my setup is a mix of
zeromq_master+zeromq_worker1+socat(listening_port_XXX +

What I want to achieve is similar to multipath TCP:


But without the need to touch the kernel and having multiple network interfaces.

Tor circuits are quite slow, the idea is to stack them to aggregate
the bandwidth available.

Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."

More information about the zeromq-dev mailing list