Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Distributed Messaging with ZeroMQ
Search
Zakiullah Khan
November 29, 2014
Technology
330
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Distributed Messaging with ZeroMQ
Code Repo:
http://j.mp/hyd-0mq
Zakiullah Khan
November 29, 2014
More Decks by Zakiullah Khan
See All by Zakiullah Khan
Project Manager v/s Program Manager
simplyzaki
0
310
Securing Single Page Applications
simplyzaki
2
390
Designing Big Data Solutions Using AWS
simplyzaki
1
510
Other Decks in Technology
See All in Technology
Optunaの最新リリースv5.0について
pfn
PRO
0
120
How to Design Configuration for Rails Applications
willnet
1
770
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Getting Started with Google Antigravity
glaforge
0
300
hackers_champloo_2026_tidb
makocchi
0
160
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
110
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
140
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
go-sqletch
moznion
0
140
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Large-scale JavaScript Application Architecture
addyosmani
516
110k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
The SEO identity crisis: Don't let AI make you average
varn
0
590
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
530
The Cult of Friendly URLs
andyhume
79
7k
Designing for humans not robots
tammielis
254
26k
Facilitating Awesome Meetings
lara
57
7.2k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
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