SlideShare a Scribd company logo
Submit Search
Upload
Overview of ZeroMQ
Report
Share
P
pieterh
iMatix
Follow
•
78 likes
•
92,084 views
1
of
19
Overview of ZeroMQ
•
78 likes
•
92,084 views
Report
Share
Download Now
Download to read offline
Technology
Education
Overview of ZeroMQ by Pieter Hintjens, CEO of iMatix Corporation.
Read more
P
pieterh
iMatix
Follow
Recommended
ZeroMQ Is The Answer by
ZeroMQ Is The Answer
Ian Barber
114K views
•
58 slides
Europycon2011: Implementing distributed application using ZeroMQ by
Europycon2011: Implementing distributed application using ZeroMQ
fcrippa
84K views
•
61 slides
FOSDEM 2011 - 0MQ by
FOSDEM 2011 - 0MQ
pieterh
37.1K views
•
13 slides
ZeroMQ by
ZeroMQ
Stoyan Zhekov
3.6K views
•
54 slides
ZeroMQ: Super Sockets - by J2 Labs by
ZeroMQ: Super Sockets - by J2 Labs
James Dennis
8.1K views
•
27 slides
Socket programming using java by
Socket programming using java
UC San Diego
5.7K views
•
23 slides
More Related Content
What's hot
Introduction to HTTP/2 by
Introduction to HTTP/2
Ido Flatow
1.9K views
•
39 slides
High Availability and Disaster Recovery in PostgreSQL - EQUNIX by
High Availability and Disaster Recovery in PostgreSQL - EQUNIX
Julyanto SUTANDANG
123 views
•
24 slides
kafka by
kafka
Amikam Snir
1K views
•
23 slides
Getting started with SIP Express Media Server SIP app server and SBC - workshop by
Getting started with SIP Express Media Server SIP app server and SBC - workshop
stefansayer
4.1K views
•
48 slides
Protocol Buffers by
Protocol Buffers
Knoldus Inc.
1.3K views
•
19 slides
Write microservice in golang by
Write microservice in golang
Bo-Yi Wu
14.8K views
•
126 slides
What's hot
(20)
Introduction to HTTP/2 by Ido Flatow
Introduction to HTTP/2
Ido Flatow
•
1.9K views
High Availability and Disaster Recovery in PostgreSQL - EQUNIX by Julyanto SUTANDANG
High Availability and Disaster Recovery in PostgreSQL - EQUNIX
Julyanto SUTANDANG
•
123 views
kafka by Amikam Snir
kafka
Amikam Snir
•
1K views
Getting started with SIP Express Media Server SIP app server and SBC - workshop by stefansayer
Getting started with SIP Express Media Server SIP app server and SBC - workshop
stefansayer
•
4.1K views
Protocol Buffers by Knoldus Inc.
Protocol Buffers
Knoldus Inc.
•
1.3K views
Write microservice in golang by Bo-Yi Wu
Write microservice in golang
Bo-Yi Wu
•
14.8K views
Golang - Overview of Go (golang) Language by Aniruddha Chakrabarti
Golang - Overview of Go (golang) Language
Aniruddha Chakrabarti
•
7.1K views
Networking in python by Rj by Shree M.L.Kakadiya MCA mahila college, Amreli
Networking in python by Rj
Shree M.L.Kakadiya MCA mahila college, Amreli
•
1K views
GoLang Introduction by Spandana Govindgari
GoLang Introduction
Spandana Govindgari
•
220 views
MPI Presentation by Tayfun Sen
MPI Presentation
Tayfun Sen
•
2.8K views
Kafka pub sub demo by Srish Kumar
Kafka pub sub demo
Srish Kumar
•
424 views
Introduction to AMQP Messaging with RabbitMQ by Dmitriy Samovskiy
Introduction to AMQP Messaging with RabbitMQ
Dmitriy Samovskiy
•
38.3K views
Kafka Overview by iamtodor
Kafka Overview
iamtodor
•
229 views
Rust programming-language by Mujahid Malik Arain
Rust programming-language
Mujahid Malik Arain
•
627 views
オンラインゲームのチートとセキュリティ by Hayato Doi
オンラインゲームのチートとセキュリティ
Hayato Doi
•
6.3K views
Network programming Using Python by Karim Sonbol
Network programming Using Python
Karim Sonbol
•
2.8K views
rtpengine and kamailio - or how to simulate calls at scale by Andreas Granig
rtpengine and kamailio - or how to simulate calls at scale
Andreas Granig
•
983 views
Kafka presentation by Mohammed Fazuluddin
Kafka presentation
Mohammed Fazuluddin
•
9.2K views
Faster PHP apps using Queues and Workers by Richard Baker
Faster PHP apps using Queues and Workers
Richard Baker
•
8K views
UEFI HTTP/HTTPS Boot by LinuxCon ContainerCon CloudOpen China
UEFI HTTP/HTTPS Boot
LinuxCon ContainerCon CloudOpen China
•
6.9K views
Similar to Overview of ZeroMQ
Introduction to ZeroMQ - eSpace TechTalk by
Introduction to ZeroMQ - eSpace TechTalk
Mahmoud Said
1.5K views
•
20 slides
øMQ Vortrag by
øMQ Vortrag
mirosso25
219 views
•
61 slides
CurveZMQ, ZMTP and other Dubious Characters by
CurveZMQ, ZMTP and other Dubious Characters
pieterh
8.2K views
•
24 slides
ZeroMQ with NodeJS by
ZeroMQ with NodeJS
Fernando Sanabria
47.2K views
•
71 slides
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all? by
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Julien Vermillard
10.9K views
•
67 slides
Securing IoT Applications by
Securing IoT Applications
WSO2
1.9K views
•
48 slides
Similar to Overview of ZeroMQ
(20)
Introduction to ZeroMQ - eSpace TechTalk by Mahmoud Said
Introduction to ZeroMQ - eSpace TechTalk
Mahmoud Said
•
1.5K views
øMQ Vortrag by mirosso25
øMQ Vortrag
mirosso25
•
219 views
CurveZMQ, ZMTP and other Dubious Characters by pieterh
CurveZMQ, ZMTP and other Dubious Characters
pieterh
•
8.2K views
ZeroMQ with NodeJS by Fernando Sanabria
ZeroMQ with NodeJS
Fernando Sanabria
•
47.2K views
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all? by Julien Vermillard
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Julien Vermillard
•
10.9K views
Securing IoT Applications by WSO2
Securing IoT Applications
WSO2
•
1.9K views
Pushing Data from S7-1200 to Cloud by DMC, Inc.
Pushing Data from S7-1200 to Cloud
DMC, Inc.
•
11.4K views
Splunk Conf 2014 - Getting the message by Damien Dallimore
Splunk Conf 2014 - Getting the message
Damien Dallimore
•
2.7K views
ORTE - OCERA Real Time ethernet by Alexandre Chatiron
ORTE - OCERA Real Time ethernet
Alexandre Chatiron
•
218 views
APIs at the Edge by Luca Mattia Ferrari
APIs at the Edge
Luca Mattia Ferrari
•
17 views
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012 by Benjamin Cabé
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Benjamin Cabé
•
2.4K views
MQTT enabling the smallest things by Ian Craggs
MQTT enabling the smallest things
Ian Craggs
•
72 views
Open source building blocks for the Internet of Things - Jfokus 2013 by Benjamin Cabé
Open source building blocks for the Internet of Things - Jfokus 2013
Benjamin Cabé
•
2.2K views
0mq by Diego Pacheco
0mq
Diego Pacheco
•
625 views
Building a QT based solution on a i.MX7 processor running Linux and FreeRTOS by Fernando Luiz Cola
Building a QT based solution on a i.MX7 processor running Linux and FreeRTOS
Fernando Luiz Cola
•
683 views
ECI OpenFlow 2.0 the Future of SDN by ECI – THE ELASTIC NETWORK™
ECI OpenFlow 2.0 the Future of SDN
ECI – THE ELASTIC NETWORK™
•
804 views
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal) by Jakub Botwicz
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Jakub Botwicz
•
379 views
Easy enterprise application integration with RabbitMQ and AMQP by Rabbit MQ
Easy enterprise application integration with RabbitMQ and AMQP
Rabbit MQ
•
8K views
Enduro/X Middleware by Madars Vitolins
Enduro/X Middleware
Madars Vitolins
•
211 views
Securing the Internet of Things by Paul Fremantle
Securing the Internet of Things
Paul Fremantle
•
9.5K views
More from pieterh
Switch or broker by
Switch or broker
pieterh
2.9K views
•
27 slides
Revolutionary Open Source by
Revolutionary Open Source
pieterh
2.7K views
•
46 slides
Git Without Branches - Simple, Smooth, Scalable by
Git Without Branches - Simple, Smooth, Scalable
pieterh
3K views
•
15 slides
Software Architecture using ZeroMQ - techmesh 2012 by
Software Architecture using ZeroMQ - techmesh 2012
pieterh
1.9K views
•
24 slides
Software Architecture over ZeroMQ by
Software Architecture over ZeroMQ
pieterh
5.4K views
•
56 slides
Social architecture-101 by
Social architecture-101
pieterh
3.1K views
•
14 slides
More from pieterh
(8)
Switch or broker by pieterh
Switch or broker
pieterh
•
2.9K views
Revolutionary Open Source by pieterh
Revolutionary Open Source
pieterh
•
2.7K views
Git Without Branches - Simple, Smooth, Scalable by pieterh
Git Without Branches - Simple, Smooth, Scalable
pieterh
•
3K views
Software Architecture using ZeroMQ - techmesh 2012 by pieterh
Software Architecture using ZeroMQ - techmesh 2012
pieterh
•
1.9K views
Software Architecture over ZeroMQ by pieterh
Software Architecture over ZeroMQ
pieterh
•
5.4K views
Social architecture-101 by pieterh
Social architecture-101
pieterh
•
3.1K views
Fosdem 2009 by pieterh
Fosdem 2009
pieterh
•
3.8K views
RestMS Introduction by pieterh
RestMS Introduction
pieterh
•
2.3K views
Recently uploaded
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
IttrainingIttraining
58 views
•
8 slides
Five Things You SHOULD Know About Postman by
Five Things You SHOULD Know About Postman
Postman
36 views
•
43 slides
Business Analyst Series 2023 - Week 3 Session 5 by
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10
300 views
•
20 slides
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
Jasper Oosterveld
19 views
•
49 slides
Kyo - Functional Scala 2023.pdf by
Kyo - Functional Scala 2023.pdf
Flavio W. Brasil
400 views
•
92 slides
Network Source of Truth and Infrastructure as Code revisited by
Network Source of Truth and Infrastructure as Code revisited
Network Automation Forum
27 views
•
45 slides
Recently uploaded
(20)
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
IttrainingIttraining
•
58 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About Postman
Postman
•
36 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10
•
300 views
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
Jasper Oosterveld
•
19 views
Kyo - Functional Scala 2023.pdf by Flavio W. Brasil
Kyo - Functional Scala 2023.pdf
Flavio W. Brasil
•
400 views
Network Source of Truth and Infrastructure as Code revisited by Network Automation Forum
Network Source of Truth and Infrastructure as Code revisited
Network Automation Forum
•
27 views
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by Dr. Jimmy Schwarzkopf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
Dr. Jimmy Schwarzkopf
•
20 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson
•
92 views
Case Study Copenhagen Energy and Business Central.pdf by Aitana
Case Study Copenhagen Energy and Business Central.pdf
Aitana
•
16 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software
•
280 views
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdf
madhurjyapb
•
14 views
virtual reality.pptx by G036GaikwadSnehal
virtual reality.pptx
G036GaikwadSnehal
•
14 views
Ransomware is Knocking your Door_Final.pdf by Security Bootcamp
Ransomware is Knocking your Door_Final.pdf
Security Bootcamp
•
59 views
Mini-Track: Challenges to Network Automation Adoption by Network Automation Forum
Mini-Track: Challenges to Network Automation Adoption
Network Automation Forum
•
13 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi
•
132 views
MVP and prioritization.pdf by rahuldharwal141
MVP and prioritization.pdf
rahuldharwal141
•
31 views
Microsoft Power Platform.pptx by Uni Systems S.M.S.A.
Microsoft Power Platform.pptx
Uni Systems S.M.S.A.
•
53 views
PRODUCT LISTING.pptx by angelicacueva6
PRODUCT LISTING.pptx
angelicacueva6
•
14 views
Info Session November 2023.pdf by AleksandraKoprivica4
Info Session November 2023.pdf
AleksandraKoprivica4
•
13 views
Voice Logger - Telephony Integration Solution at Aegis by Nirmal Sharma
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma
•
39 views
Overview of ZeroMQ
1.
Introduction to ZeroMQ
1 December 2011 Pieter Hintjens, iMatix
2.
3.
4.
Broker-based messaging
5.
6.
It had to
be really fast and really simple
7.
8.
Many kinds of
connection patterns
9.
Multiplatform, multi-language (30+)
10.
Fast (8M msg/sec,
30usec latency)
11.
Small (20K lines
of C++ code)
12.
Open source LGPL
(large community)
13.
ØMQ Hello World
import org.zeromq.ZMQ; public class hwclient { public static void main (String[] args){ ZMQ.Context context = ZMQ.context (1); ZMQ.Socket socket = context.socket (ZMQ.REQ); socket.connect ("tcp://localhost:5555"); socket.send ("Hello", 0); System.out.println (socket.recv(0)); } } import org.zeromq.ZMQ; public class hwserver { public static void main (String[] args) { ZMQ.Context context = ZMQ.context(1); ZMQ.Socket socket = context.socket(ZMQ.REP); socket.bind ("tcp://*:5555"); while (true) { byte [] request = socket.recv (0); socket.send("World", 0); } } }
14.
Request-Reply Pattern
15.
Publish-Subscribe Pattern
16.
Pipeline Pattern
17.
Simple ØMQ Application
18.
19.
Processes on one
box (ipc://)
20.
Processes on one
network (tcp://)
21.
Multicast group (pgm://)
22.
Multihop ØMQ Application
23.
Typical ØMQ Design
24.
25.
Multicast (PUB)
26.
Fair-queuing (REP, SUB,
PULL, DEALER)
27.
Explicit addressing (ROUTER)
28.
Unicast (PAIR)
29.
30.
One socket connect
to many sockets
31.
Queuing at sender
and receiver
32.
Automatic TCP (re)connect
33.
Zero-copy for large
messages
34.
35.
Design app as
message-driven tasks
36.
Each task reads
from 1..n sockets
37.
Tasks can talk
over inproc://
38.
Tasks can be
split into processes over tcp://
39.
No wait states,
no locks, full CPU use
40.
Scalable to any
number of cores
41.
42.
Move to faster
language where needed (C)
43.
Run on arbitrary
platforms (Windows, Android)
44.
Scale to arbitrary
sizes (2 cores, 16 cores...)
45.
No per-core or
per-seat licensing
46.
Easy to experiment
and learn
47.
48.
Small protocols for
main flows
49.
ØMQ patterns for
main flows
50.
Break components up
for performance
51.
Profile and test
52.
Improve incrementally over
many cycles
53.
54.
2004 – AMQP
standard for JPMorganChase
55.
2005 – OpenAMQ
message broker/client
56.
2008 – ØMQ/0.x
for the avant-garde
57.
2009 – ØMQ/1.x
for pioneers (finance)
58.
2010 – ØMQ/2.x
for early adopters (foss)
59.
2011 – ØMQ/3.x
for mass market (cloud)
60.
61.
1,000 people on
dev list, 120 on IRC
62.
63.
Language bindings (35
or more)
64.
65.
66.
zero.mq – community
wiki
67.
#zeromq – IRC
channel on Freenode
68.
zeromq-dev – email
list on zeromq.org
69.
github.com/zeromq – git
repositories
70.
zguide.zeromq.org – user
guide
71.
api.zeromq.org – reference
manual