3 ms·
I've used ZeroMQ - not quite an AMQP library but a tool you can use to achieve similar goals[1] - in creating an SOA in Python. The principal issue in using Ze
by ejstronge 12y ago
I've used ZeroMQ - not quite an AMQP library but a tool you can use to achieve similar goals[1] - in creating an SOA in Python.
The principal issue in using ZeroMQ is figuring out how to combine its messaging primitives into something your application can use. This could end up being an asset if you have special requirements; however, for common cases there are established patterns you can use. For an SOA, you may like the Majordomo Protocol [2].
As an aside, reading the ZeroMQ introduction was great in gaining an appreciation for the difficulties arising from creating distributed applications and was enjoyable, to boot [3].
[1] http://zeromq.org/docs:welcome-from-amqp http://zeromq.org/docs:welcome-from-amqp
[2] http://zguide.zeromq.org/page:all#Service-Oriented-Reliable-Queuing-Majordomo-Pattern http://zguide.zeromq.org/page:all#Service-Oriented-Reliable-...
Also see a Python implementation of this protocol:
https://github.com/guidog/pyzmq-mdp
[3] http://zguide.zeromq.org/page:all http://zguide.zeromq.org/page:all
- schmidtc 12y agoZeroMQ is really good. I think the best introduction to it is this video, http://vimeo.com/20605470 http://vimeo.com/20605470 (ZeroMQ is the answer). Just ignore the it was recorded at a PHP conference, the examples are pretty language agnostic. I think one of the best things about ZeroMQ is there are not external brokers or services that you have to keep running. The entire architecture is captured in your own long running processes.