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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
whitmo
February 14, 2014
Programming
1
110
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
63
Other Decks in Programming
See All in Programming
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
CSC307 Lecture 04
javiergs
PRO
0
660
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
AtCoder Conference 2025
shindannin
0
1.1k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
SourceGeneratorのススメ
htkym
0
200
Featured
See All Featured
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Music & Morning Musume
bryan
47
7.1k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Everyday Curiosity
cassininazir
0
130
What's in a price? How to price your products and services
michaelherold
247
13k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
From π to Pie charts
rasagy
0
120
Designing Experiences People Love
moore
144
24k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
94
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
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