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
Distributed Messaging with ZeroMQ
Search
Zakiullah Khan
November 29, 2014
Technology
1
320
Distributed Messaging with ZeroMQ
Code Repo:
http://j.mp/hyd-0mq
Zakiullah Khan
November 29, 2014
Tweet
Share
More Decks by Zakiullah Khan
See All by Zakiullah Khan
Project Manager v/s Program Manager
simplyzaki
0
300
Securing Single Page Applications
simplyzaki
2
380
Designing Big Data Solutions Using AWS
simplyzaki
1
500
Other Decks in Technology
See All in Technology
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
940
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
200
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
150
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
420
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
450
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
250
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
150
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
430
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
660
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Claude Code のすすめ
schroneko
67
210k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
100
Being A Developer After 40
akosma
91
590k
The SEO Collaboration Effect
kristinabergwall1
0
350
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
100
Transcript
Distributed Messaging with ZeroMQ By Zakiullah Khan Mohammed @khan_io
#HYD0MQ Twitter Hash Tag
About Me Technical Manager @ Fission Labs http://www.khanio.com
http://j.mp/hyd-0mq Source Code Repository http://www.khanio.com @khan_io 4
Agenda Messaging - ZeroMQ - Patterns
None
None
Distributed Messaging “Messaging is the right way to build Distributed
Systems...” Eric Armstrong
Why Messaging ? Performance - Decoupling - Scalability - HA
Performance Improve response times by asynchronously processing tasks
Decoupling Reduce complexity by decoupling and isolating applications
Scalability Distribute tasks across nodes based on load
High Availability Get reliable systems using persistent message queues and
zero downtime re-deploys
Messaging Protocols JMS, AMQP, STOMP, SOCKETS
Messaging Brokers Apache Kafka, ActiveMQ, RabbitMQ, ZeroMQ
Classification Brokered or Brokerless Persistent or Transient
None
None
Characteristics Throughput - Latency
Throughput Rate at which something can be processed
Latency Time interval between request-response
ZeroMQ Sockets on Steroids
Transport Types Unicast - Multicast
Unicast Transport Types INPROC - IPC - TCP
None
Multicast Transport Types PGM - EPGM
None
INPROC Local (in-process) communication transport
IPC Local (inter-process) communication transport
TCP Unicast communication transport using TCP
PGM Multicast communication transport using PGM
Core Messaging Patterns REQ/REP - PUB/SUB - Pipeline - Pair
Request / Reply Pattern Used for sending a request &
receiving subsequent replies for each one sent
None
Publish / Subscribe Pattern Used for distributing data from a
single process (publisher) to multiple recipients (subscribers)
None
Pipeline Pattern Used for distributing data to connected nodes
None
Pair Pattern Used for connecting two peers to form a
pair
None
Socket Combinations REQ/ROUTER - DEALER/REP - DEALER/ROUTER - DEALER/DEALER -
ROUTER/ROUTER - PUSH/PULL - PAIR/PAIR
Thank You Q&A