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
370
Designing Big Data Solutions Using AWS
simplyzaki
1
490
Other Decks in Technology
See All in Technology
.NET Profiler in 2024.
kkamegawa
2
970
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
4
18k
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.5k
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
1k
Grafana x PagerDuty Better Together
jacopen
1
250
DMM.com アルファ室採用案内資料
hsugita
1
220
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
35k
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
4
880
成長をサポートするピープルマネジメントのやり方
sioncojp
8
960
Android Target SDK 35 (Android 15) 対応の概要
akkie76
0
150
Gitlab本から学んだこと - そーだいなるプレイバック / gitlab-book
soudai
7
1.3k
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
330
Featured
See All Featured
Being A Developer After 40
akosma
66
580k
Navigating Team Friction
lara
179
13k
For a Future-Friendly Web
brad_frost
172
9k
A designer walks into a library…
pauljervisheath
201
23k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
19
1.6k
The Pragmatic Product Professional
lauravandoore
26
5.8k
Teambox: Starting and Learning
jrom
128
8.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
Building Effective Engineering Teams - LeadDev
addyosmani
32
1.9k
Embracing the Ebb and Flow
colly
80
4.2k
Designing for Performance
lara
602
67k
Designing on Purpose - Digital PM Summit 2013
jponch
111
6.5k
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