Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Zeromq: Mutant socket invasion

whitmo
February 14, 2014

Zeromq: Mutant socket invasion

Intro to 0mq given to pynash 2014-02-13

whitmo

February 14, 2014
Tweet

More Decks by whitmo

Other Decks in Programming

Transcript

  1. Who am I Systems Engineer at SurveyMonkey Python user since

    2002, python 2.2 Author of PoachEggs http://github.com/whitmo @whit Zope/Plone Survivor
  2. ØMQ is not • A queue • A direct substitute

    for a message broker • An instant pancea for scaling problems
  3. A library providing a socket-like api hiding alot of annoying

    boilerplate for sane communication between parallel or concurrent executing code
  4. Polyglot • binding to C++ libs in most languages •

    native bindings in .net, F#, java • nullmq work alike for browser js
  5. Messaging Legos • REQ - REP • PUSH - PULL

    • PUB - SUB • ROUTER, DEALER and friends
  6. Request/Response • REQ to REP • DEALER to REP •

    REQ to ROUTER • DEALER to ROUTER • DEALER to DEALER • ROUTER to ROUTER
  7. Python projects • pyre • salt • ansible • circus

    • locust • fedmsg • ipython • zerorpc • zarkov • brubeck