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
Zaqar Messaging for Microservices and IoT
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
vkmc
April 27, 2016
Technology
0
150
Zaqar Messaging for Microservices and IoT
OpenStack Summit Austin 2016
vkmc
April 27, 2016
Tweet
Share
More Decks by vkmc
See All by vkmc
Teaching padawans to chop wood and carry water in their open source journey - OpenInfra Summit 2022
vkmc
0
41
Your ReadWriteMany (RWX) Storage in k8s with Manila CSI - OpenInfraSummit 2022
vkmc
0
93
Configuring Manila services for High Availability - OpenInfra Summit 2022
vkmc
0
110
Evitá (tantos) bugs en tu código: Zuul CI al rescate
vkmc
0
190
Un dia trabajando en infra
vkmc
0
140
Easy multi-tenant k8s RWX storage with cloud provisioner OpenStack and Manila CSI
vkmc
0
160
OpenShift libre de humo
vkmc
0
130
CephFS on OpenStack Manila
vkmc
0
370
OpenShift in a Nutshell - LinuxChixAR
vkmc
0
410
Other Decks in Technology
See All in Technology
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
120
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
190
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
220
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
150
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
260
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
260
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.5k
AI駆動開発を事業のコアに置く
tasukuonizawa
1
270
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
Featured
See All Featured
Side Projects
sachag
455
43k
Skip the Path - Find Your Career Trail
mkilby
0
57
The Pragmatic Product Professional
lauravandoore
37
7.1k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
100
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Automating Front-end Workflow
addyosmani
1371
200k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
My Coaching Mixtape
mlcsv
0
48
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
110
Transcript
ZAQAR MESSAGING FOR MICROSERVICES AND IoT Ryan Brown Victoria Martinez
de la Cruz April 27th, 2016
WHAT IS ZAQAR?
3 TL;DR Messaging and Notifications for OpenStack To produce an
OpenStack messaging service that affords a variety of distributed application patterns in an efficient, scalable and highly-available manner, and to create and maintain associated Python libraries and documentation. Mission statement
4 Main goal ...and in OpenStack itself!* It aims to
connect applications running on the cloud... *for certain scenarios… don’t get too excited
5 What Zaqar is not - It’s not a replacement
RabbitMQ or QPID - It’s not a queue service - It’s not an email service
6 Multitenant Main features Component based Messaging patterns
7 Notifications Main features At-least-once delivery guarantee Horizontally scalable
8 Messaging for the cloud Self-healing applications Intercloud communication Data
processing Some use cases
9 Zaqar architecture Client 1 Client 2 Client 3 Client
N Transport Protocol API Storage
10 Storage backends - Redis - Ephemeral by default -
High-throughput - In-memory - MongoDB - HA - Persistent - Disk-backed
11 Storage MongoDB SQLAlchemy Redis Transport WSGI Juno Kilo Zaqar
architecture Storage backends and transmission mechanisms supported over time Liberty Storage MongoDB SQLAlchemy (mgmt only) Redis Transport WSGI Websocket Msgpack Mitaka Storage MongoDB SQLAlchemy (mgmt only) Redis Transport WSGI Websocket (beta) Storage MongoDB SQLAlchemy (mgmt only) Redis Transport WSGI Websocket
ZAQAR’S FUTURE
13 Notifications Within OpenStack - Polling - Between services -
To users - Not a replacement for oslo.messaging - Standardize on message format - oslo.versionedobjects
14 Dead letter queue - A place for failed or
undeliverable messages - Planned for Newton
15 Subscription Confirmation - Confirm with webhook recipient that subscription
is valid
MESSAGES LIFECYCLE
17 Work Queue Sender - Send job - Listen on
finished queue Worker - Listen on job queue - Receive job Sender Zaqar Worker {“job”: 123} {“job”: 123}
18 Work Queue Sender - Send job - Listen on
finished queue Worker - Listen on job queue - Receive job - Claim message Sender Zaqar Worker Claim job 123
19 Work Queue Sender - Send job - Listen on
finished queue Worker - Listen on job queue - Receive job - Claim message - Delete message Sender Zaqar Worker Delete job 123
20 Expiration and Lifetimes - Time-To-Live settings - Subscriptions -
Claims - Messages - Stale data can be worse than no data
MESSAGE PATTERNS
22 Client Notifications Websockets, email, and webhooks - Web browser
notifications - Horizon! - Email for people and legacy systems - Webhooks for cross-service collaboration
23 Messaging for Services Shares lots with work queueing -
Push or pull - Long-lived messages mean systems can go offline without losing commands
24 Stack CREATE Instance CREATE Heat Notifications Integrate Heat with
more workflows Actions Register w/ load balancer Add to inventory system Register metric metadata Zaqar event Listener Can have many listeners
25 Using Heat Notifications In environment.yml event_sinks: - type: zaqar-queue
target: myqueue ttl: 1200
26 Stack CREATE Create some stuff Heat Hooks Wait before/after
resource actions Actions Manual verification Legacy systems Hook event Finish extra work Wait for external action Continue CREATE
ZAQAR FOR IoT
28 Signed URLs Narrow, specific credentials - Per action, per
queue - Write-only or read-only - TTLs too!
29 Sensor data Many, many writers - Short TTL -
High volume - Missed messages are fine
30 Example IoT Application Climate control on campus - Multiple
buildings - Control systems in every office - Company directive to “go green”
31 Mobile app Zaqar Server Climate Control Thermostat Web interface
Websocket connection HTTP API connection Commands Air Conditioner 1 Send metrics Receive commands Air Conditioner 2
32 Mobile app Zaqar Server Changes Thermostat Web interface Set
temp to 22C Air Conditioner 1 Air Conditioner 2 Notifications
33 Mobile app Zaqar Server Changes Thermostat Web interface Air
Conditioner 1 Air Conditioner 2 23.4C 24C
Q&A @ryan_sb @vkmc