Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
AIの長期記憶と短期記憶の違いについてAgentCoreを例に深掘ってみた
yakumo
4
370
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
8
3k
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
3.3k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
Lookerで実現するセキュアな外部データ提供
zozotech
PRO
0
140
mairuでつくるクレデンシャルレス開発環境 / Credential-less development environment using Mailru
mirakui
5
530
5分で知るMicrosoft Ignite
taiponrock
PRO
0
380
多様なデジタルアイデンティティを攻撃からどうやって守るのか / 20251212
ayokura
0
460
1人1サービス開発しているチームでのClaudeCodeの使い方
noayaoshiro
1
230
今年のデータ・ML系アップデートと気になるアプデのご紹介
nayuts
1
420
JEDAI認定プログラム JEDAI Order 2026 エントリーのご案内 / JEDAI Order 2026 Entry
databricksjapan
0
120
re:Invent 2025 ~何をする者であり、どこへいくのか~
tetutetu214
0
220
Featured
See All Featured
Making Projects Easy
brettharned
120
6.5k
Building Adaptive Systems
keathley
44
2.9k
Unsuck your backbone
ammeep
671
58k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Mobile First: as difficult as doing things right
swwweet
225
10k
Scaling GitHub
holman
464
140k
Fireside Chat
paigeccino
41
3.7k
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