Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Zeromq: Mutant socket invasion
Search
whitmo
February 14, 2014
Programming
2
100
Zeromq: Mutant socket invasion
Intro to 0mq given to pynash 2014-02-13
whitmo
February 14, 2014
Tweet
Share
More Decks by whitmo
See All by whitmo
'strap
whitmo
1
60
Other Decks in Programming
See All in Programming
AWS発のAIエディタKiroを使ってみた
iriikeita
1
130
SOCI Index Manifest v2が出たので調べてみた / Introduction to SOCI Index Manifest v2
tkikuc
1
120
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.4k
物語を動かす行動"量" #エンジニアニメ
konifar
14
5.7k
STUNMESH-go: Wireguard NAT穿隧工具的源起與介紹
tjjh89017
0
390
未来を拓くAI技術〜エージェント開発とAI駆動開発〜
leveragestech
2
200
オープンセミナー2025@広島LT技術ブログを続けるには
satoshi256kbyte
0
150
Improving my own Ruby thereafter
sisshiki1969
1
140
LLMOpsのパフォーマンスを支える技術と現場で実践した改善
po3rin
8
1k
サーバーサイドのビルド時間87倍高速化
plaidtech
PRO
0
680
ライブ配信サービスの インフラのジレンマ -マルチクラウドに至ったワケ-
mirrativ
2
270
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
431
66k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
110
20k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
51
5.6k
The Language of Interfaces
destraynor
160
25k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Embracing the Ebb and Flow
colly
87
4.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Transcript
ØMQ Mutant Socket Invasion http://github.com/whitmo/0mq-talk
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
an opinionated approach to messaging ØMQ is
ØMQ is not • A queue • A direct substitute
for a message broker • An instant pancea for scaling problems
A library providing a socket-like api hiding alot of annoying
boilerplate for sane communication between parallel or concurrent executing code
Polyglot • binding to C++ libs in most languages •
native bindings in .net, F#, java • nullmq work alike for browser js
serialization agnostic
Locational Transparency • IPC • TCP • PGM Not a
neutral carrier (in general)
Easy Actors
Python (f*ck yeah) • pyzmq • pyczmq
simple message
Multi part envelope
Messaging Legos • REQ - REP • PUSH - PULL
• PUB - SUB • ROUTER, DEALER and friends
REQ Syncronous request
PUSH - PULL Pipeline / Fan out
REP Syncronous reply
PUB - SUB Broadcast and subscription
DEALER Envelope aware nonblocking IO
ROUTER Envelope aware nonblocking IO that routes responses
Request/Response • REQ to REP • DEALER to REP •
REQ to ROUTER • DEALER to ROUTER • DEALER to DEALER • ROUTER to ROUTER
Show me the code already
Python projects • pyre • salt • ansible • circus
• locust • fedmsg • ipython • zerorpc • zarkov • brubeck