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
ECS モニタリング手法大整理
yendoooo
1
120
AIエージェント就活入門 - MCPが履歴書になる未来
eltociear
0
250
キャリアを支え組織力を高める「多層型ふりかえり」 / 20250821 Kazuki Mori
shift_evolve
PRO
2
280
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
130
新卒(ほぼ)専業Kagglerという選択肢
nocchi1
1
1.9k
LLM時代の検索とコンテキストエンジニアリング
shibuiwilliam
2
1.1k
歴代のWeb Speed Hackathonの出題から考えるデグレしないパフォーマンス改善
shuta13
6
590
Yahoo!広告ビジネス基盤におけるバックエンド開発
lycorptech_jp
PRO
1
250
Backboneとしてのtimm2025
yu4u
3
1.3k
ABEMAにおける 生成AI活用の現在地 / The Current Status of Generative AI at ABEMA
dekatotoro
0
630
Amazon Bedrock AgentCore でプロモーション用動画生成エージェントを開発する
nasuvitz
6
390
そのコンポーネント、サーバー?クライアント?App Router開発のモヤモヤを可視化する補助輪
makotot
3
250
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
How to train your dragon (web standard)
notwaldorf
96
6.2k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Speed Design
sergeychernyshev
32
1.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
How STYLIGHT went responsive
nonsquared
100
5.7k
Practical Orchestrator
shlominoach
190
11k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.4k
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