Message Queues with RabbitMQ - Brad Wood.pdf

Ortus Solutions, Corp
Ortus Solutions, CorpOrtus Solutions, Corp
Message Queues with
RabbitMQ
Rabbity Goodness
Brad Wood (@bdw429s)
Links
● https://www.rabbitmq.com
● https://www.forgebox.io/view/rabbitsdk
● https://community.ortussolutions.com/
● https://www.rabbitmq.com/stomp.html
● https://github.com/rabbitmq/rabbitmq-delayed-message-exchange
What are Message Queues
Publish/Subscribe Pattern
A broker that routes messages between multiple producers and consumers
RabbitMQ, ActiveMQ, Kafka, Azure Service Bus, Amazon SQS
Runs as an external service
Can be glue between services written in different languages
Can help consolidate work between a scaled architecture
What is a message
● Destination address
● Headers
○ Type
○ Correlation ID
○ Timestamp
○ expiration
○ Reply to address
○ Delay headers
● body
○ Binary
○ String
○ XML
○ JSON
Terminology
● Producer
● Queue
● Consumer
● Exchange
● TCP Connection/Channel
● Routing Key
Message Queue Design Patterns
Message Queue Design Patterns
Message Queue Design Patterns
Message Queue Design Patterns
Demo
You can easily start RabbitMQ in Docker with these commands:
docker pull rabbitmq:3-management
docker run --rm -d -it -p 15672:15672 -p 5672:5672 rabbitmq:3-management
Then access the administrator at http://localhost:15672
Customer Use Cases
Incoming lead system to create internal follow ups in a
separate system without polling for new leads in DB.
Customer Use Cases
Aggregate real time changes to customer sales made
across multiple systems running different versions of
ColdFusion and Lucee to push real time updates to
dashboards and fire related processes.
Customer Use Cases
Leverage STOMP Rabbit Plugin for websockets to push
real time message to sales team agents as soon as a new
lead came in. Used topic exchange to broadcast leads
only to applicable team members and enforced security
via auth API.
Customer Use Cases
Implemented real time chat between Twillio-powered SMS
messages and web based chat UI on site so sales teams
could communicate with clients. All messages were sent
and received via websockets powered by Rabbit and
STOMP plugin.
Customer Use Cases
Created delayed notification system to follow up with
clients after unread messages. Used delayed message
exchange to schedule followups based on business rules.
Eliminated all DB polling to check for needed followups.
Customer Use Cases
Created user-specific notification queues to push over
websockets. Each queue topic is locked down to specific
users and authentication is provided by CF-based API
using JWT (JSON Web Token) from browser to identify
browser connections.
1 de 16

Recomendados

Basics of WCF and its Security por
Basics of WCF and its SecurityBasics of WCF and its Security
Basics of WCF and its SecurityMindfire Solutions
1.5K visualizações20 slides
1. WCF Services - Exam 70-487 por
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487Bat Programmer
2.2K visualizações51 slides
Enterprise Messaging with RabbitMQ.pdf por
Enterprise Messaging with RabbitMQ.pdfEnterprise Messaging with RabbitMQ.pdf
Enterprise Messaging with RabbitMQ.pdfOrtus Solutions, Corp
90 visualizações52 slides
Service Oriented Development With Windows Communication Foundation Tulsa Dnug por
Service Oriented Development With Windows Communication Foundation   Tulsa DnugService Oriented Development With Windows Communication Foundation   Tulsa Dnug
Service Oriented Development With Windows Communication Foundation Tulsa DnugJason Townsend, MBA
893 visualizações83 slides
[@NaukriEngineering] Messaging Queues por
[@NaukriEngineering] Messaging Queues[@NaukriEngineering] Messaging Queues
[@NaukriEngineering] Messaging QueuesNaukri.com
2.4K visualizações30 slides
Intro to Azure Service Bus por
Intro to Azure Service BusIntro to Azure Service Bus
Intro to Azure Service BusGeorge Grammatikos
284 visualizações19 slides

Mais conteúdo relacionado

Similar a Message Queues with RabbitMQ - Brad Wood.pdf

WCF tutorial por
WCF tutorialWCF tutorial
WCF tutorialAbhi Arya
7.8K visualizações110 slides
SignalR or RabbitMQ: Which is the better messaging tool? por
SignalR or RabbitMQ: Which is the better messaging tool?SignalR or RabbitMQ: Which is the better messaging tool?
SignalR or RabbitMQ: Which is the better messaging tool?Tien Nguyen
62 visualizações18 slides
f2f-overview12.ppt por
f2f-overview12.pptf2f-overview12.ppt
f2f-overview12.pptwentaozhu3
3 visualizações36 slides
Next Video Build: XMTP Workshop Slides por
Next Video Build: XMTP Workshop SlidesNext Video Build: XMTP Workshop Slides
Next Video Build: XMTP Workshop SlidesNeven6
62 visualizações32 slides
Session 1: The SOAP Story por
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Storyukdpe
581 visualizações41 slides
Chat app case study - xmpp vs SIP por
Chat app case study - xmpp vs SIPChat app case study - xmpp vs SIP
Chat app case study - xmpp vs SIPGenora Infotech
689 visualizações19 slides

Similar a Message Queues with RabbitMQ - Brad Wood.pdf(20)

WCF tutorial por Abhi Arya
WCF tutorialWCF tutorial
WCF tutorial
Abhi Arya7.8K visualizações
SignalR or RabbitMQ: Which is the better messaging tool? por Tien Nguyen
SignalR or RabbitMQ: Which is the better messaging tool?SignalR or RabbitMQ: Which is the better messaging tool?
SignalR or RabbitMQ: Which is the better messaging tool?
Tien Nguyen62 visualizações
f2f-overview12.ppt por wentaozhu3
f2f-overview12.pptf2f-overview12.ppt
f2f-overview12.ppt
wentaozhu33 visualizações
Next Video Build: XMTP Workshop Slides por Neven6
Next Video Build: XMTP Workshop SlidesNext Video Build: XMTP Workshop Slides
Next Video Build: XMTP Workshop Slides
Neven662 visualizações
Session 1: The SOAP Story por ukdpe
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Story
ukdpe581 visualizações
Chat app case study - xmpp vs SIP por Genora Infotech
Chat app case study - xmpp vs SIPChat app case study - xmpp vs SIP
Chat app case study - xmpp vs SIP
Genora Infotech689 visualizações
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions por John Staveley
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure FunctionsMessaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
John Staveley7.3K visualizações
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI por Advancio
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio706 visualizações
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F... por Jason Townsend, MBA
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Jason Townsend, MBA1.2K visualizações
Orchestration Patterns for Microservices with Messaging by RabbitMQ por VMware Tanzu
Orchestration Patterns for Microservices with Messaging by RabbitMQOrchestration Patterns for Microservices with Messaging by RabbitMQ
Orchestration Patterns for Microservices with Messaging by RabbitMQ
VMware Tanzu16.4K visualizações
Aplicaciones en tiempo real con SignalR por Francesc Jaumot
Aplicaciones en tiempo real con SignalRAplicaciones en tiempo real con SignalR
Aplicaciones en tiempo real con SignalR
Francesc Jaumot797 visualizações
Flex Messeging Services por ravinxg
Flex Messeging ServicesFlex Messeging Services
Flex Messeging Services
ravinxg963 visualizações
Service Oriented Development With Windows Communication Foundation 2003 por Jason Townsend, MBA
Service Oriented Development With Windows Communication Foundation 2003Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003
Jason Townsend, MBA505 visualizações
CMPE282_009994036_PROJECT_REPORT por Sandyarathi Das
CMPE282_009994036_PROJECT_REPORTCMPE282_009994036_PROJECT_REPORT
CMPE282_009994036_PROJECT_REPORT
Sandyarathi Das262 visualizações
Real time web apps por Sepehr Rasouli
Real time web appsReal time web apps
Real time web apps
Sepehr Rasouli76 visualizações
Difference between wcf and asp.net web api por Umar Ali
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web api
Umar Ali3.3K visualizações
ISUG SSB Lior King por sqlserver.co.il
ISUG SSB Lior KingISUG SSB Lior King
ISUG SSB Lior King
sqlserver.co.il1.4K visualizações
Real time Communication with Signalr (Android Client) por Deepak Gupta
Real time Communication with Signalr (Android Client)Real time Communication with Signalr (Android Client)
Real time Communication with Signalr (Android Client)
Deepak Gupta10.3K visualizações

Mais de Ortus Solutions, Corp

Luis Majano The Battlefield ORM por
Luis Majano The Battlefield ORMLuis Majano The Battlefield ORM
Luis Majano The Battlefield ORMOrtus Solutions, Corp
28 visualizações74 slides
Brad Wood - CommandBox CLI por
Brad Wood - CommandBox CLI Brad Wood - CommandBox CLI
Brad Wood - CommandBox CLI Ortus Solutions, Corp
59 visualizações55 slides
Secure your Secrets and Settings in ColdFusion por
Secure your Secrets and Settings in ColdFusionSecure your Secrets and Settings in ColdFusion
Secure your Secrets and Settings in ColdFusionOrtus Solutions, Corp
75 visualizações97 slides
Daniel Garcia ContentBox: CFSummit 2023 por
Daniel Garcia ContentBox: CFSummit 2023Daniel Garcia ContentBox: CFSummit 2023
Daniel Garcia ContentBox: CFSummit 2023Ortus Solutions, Corp
41 visualizações40 slides
ITB_2023_CommandBox_Multi-Server_-_Brad_Wood.pdf por
ITB_2023_CommandBox_Multi-Server_-_Brad_Wood.pdfITB_2023_CommandBox_Multi-Server_-_Brad_Wood.pdf
ITB_2023_CommandBox_Multi-Server_-_Brad_Wood.pdfOrtus Solutions, Corp
16 visualizações21 slides
ITB_2023_The_Many_Layers_of_OAuth_Keith_Casey_.pdf por
ITB_2023_The_Many_Layers_of_OAuth_Keith_Casey_.pdfITB_2023_The_Many_Layers_of_OAuth_Keith_Casey_.pdf
ITB_2023_The_Many_Layers_of_OAuth_Keith_Casey_.pdfOrtus Solutions, Corp
14 visualizações51 slides

Mais de Ortus Solutions, Corp(20)

Luis Majano The Battlefield ORM por Ortus Solutions, Corp
Luis Majano The Battlefield ORMLuis Majano The Battlefield ORM
Luis Majano The Battlefield ORM
Ortus Solutions, Corp28 visualizações
Secure your Secrets and Settings in ColdFusion por Ortus Solutions, Corp
Secure your Secrets and Settings in ColdFusionSecure your Secrets and Settings in ColdFusion
Secure your Secrets and Settings in ColdFusion
Ortus Solutions, Corp75 visualizações
Daniel Garcia ContentBox: CFSummit 2023 por Ortus Solutions, Corp
Daniel Garcia ContentBox: CFSummit 2023Daniel Garcia ContentBox: CFSummit 2023
Daniel Garcia ContentBox: CFSummit 2023
Ortus Solutions, Corp41 visualizações
ITB_2023_CommandBox_Multi-Server_-_Brad_Wood.pdf por Ortus Solutions, Corp
ITB_2023_CommandBox_Multi-Server_-_Brad_Wood.pdfITB_2023_CommandBox_Multi-Server_-_Brad_Wood.pdf
ITB_2023_CommandBox_Multi-Server_-_Brad_Wood.pdf
Ortus Solutions, Corp16 visualizações
ITB_2023_The_Many_Layers_of_OAuth_Keith_Casey_.pdf por Ortus Solutions, Corp
ITB_2023_The_Many_Layers_of_OAuth_Keith_Casey_.pdfITB_2023_The_Many_Layers_of_OAuth_Keith_Casey_.pdf
ITB_2023_The_Many_Layers_of_OAuth_Keith_Casey_.pdf
Ortus Solutions, Corp14 visualizações
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdf por Ortus Solutions, Corp
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdfITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdf
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdf
Ortus Solutions, Corp6 visualizações
ITB_2023_25_Most_Dangerous_Software_Weaknesses_Pete_Freitag.pdf por Ortus Solutions, Corp
ITB_2023_25_Most_Dangerous_Software_Weaknesses_Pete_Freitag.pdfITB_2023_25_Most_Dangerous_Software_Weaknesses_Pete_Freitag.pdf
ITB_2023_25_Most_Dangerous_Software_Weaknesses_Pete_Freitag.pdf
Ortus Solutions, Corp11 visualizações
ITB_2023_CBWire_v3_Grant_Copley.pdf por Ortus Solutions, Corp
ITB_2023_CBWire_v3_Grant_Copley.pdfITB_2023_CBWire_v3_Grant_Copley.pdf
ITB_2023_CBWire_v3_Grant_Copley.pdf
Ortus Solutions, Corp7 visualizações
ITB_2023_Practical_AI_with_OpenAI_-_Grant_Copley_.pdf por Ortus Solutions, Corp
ITB_2023_Practical_AI_with_OpenAI_-_Grant_Copley_.pdfITB_2023_Practical_AI_with_OpenAI_-_Grant_Copley_.pdf
ITB_2023_Practical_AI_with_OpenAI_-_Grant_Copley_.pdf
Ortus Solutions, Corp16 visualizações
ITB_2023_When_Your_Applications_Work_As_a_Team_Nathaniel_Francis.pdf por Ortus Solutions, Corp
ITB_2023_When_Your_Applications_Work_As_a_Team_Nathaniel_Francis.pdfITB_2023_When_Your_Applications_Work_As_a_Team_Nathaniel_Francis.pdf
ITB_2023_When_Your_Applications_Work_As_a_Team_Nathaniel_Francis.pdf
Ortus Solutions, Corp4 visualizações
ITB_2023_Faster_Apps_That_Wont_Get_Crushed_Brian_Klaas.pdf por Ortus Solutions, Corp
ITB_2023_Faster_Apps_That_Wont_Get_Crushed_Brian_Klaas.pdfITB_2023_Faster_Apps_That_Wont_Get_Crushed_Brian_Klaas.pdf
ITB_2023_Faster_Apps_That_Wont_Get_Crushed_Brian_Klaas.pdf
Ortus Solutions, Corp8 visualizações
ITB_2023_Chatgpt_Box_Scott_Steinbeck.pdf por Ortus Solutions, Corp
ITB_2023_Chatgpt_Box_Scott_Steinbeck.pdfITB_2023_Chatgpt_Box_Scott_Steinbeck.pdf
ITB_2023_Chatgpt_Box_Scott_Steinbeck.pdf
Ortus Solutions, Corp19 visualizações
ITB_2023_CommandBox_Task_Runners_Brad_Wood.pdf por Ortus Solutions, Corp
ITB_2023_CommandBox_Task_Runners_Brad_Wood.pdfITB_2023_CommandBox_Task_Runners_Brad_Wood.pdf
ITB_2023_CommandBox_Task_Runners_Brad_Wood.pdf
Ortus Solutions, Corp6 visualizações
ITB2023 Developing for Performance - Denard Springle.pdf por Ortus Solutions, Corp
ITB2023 Developing for Performance - Denard Springle.pdfITB2023 Developing for Performance - Denard Springle.pdf
ITB2023 Developing for Performance - Denard Springle.pdf
Ortus Solutions, Corp14 visualizações
Into The Box 2023 Keynote Day 1 por Ortus Solutions, Corp
Into The Box 2023 Keynote Day 1Into The Box 2023 Keynote Day 1
Into The Box 2023 Keynote Day 1
Ortus Solutions, Corp17 visualizações
Secure all things with CBSecurity 3 por Ortus Solutions, Corp
Secure all things with CBSecurity 3Secure all things with CBSecurity 3
Secure all things with CBSecurity 3
Ortus Solutions, Corp17 visualizações
CBSecurity 3 - Secure Your ColdBox Applications por Ortus Solutions, Corp
CBSecurity 3 - Secure Your ColdBox ApplicationsCBSecurity 3 - Secure Your ColdBox Applications
CBSecurity 3 - Secure Your ColdBox Applications
Ortus Solutions, Corp52 visualizações

Último

Network Source of Truth and Infrastructure as Code revisited por
Network Source of Truth and Infrastructure as Code revisitedNetwork Source of Truth and Infrastructure as Code revisited
Network Source of Truth and Infrastructure as Code revisitedNetwork Automation Forum
49 visualizações45 slides
"Surviving highload with Node.js", Andrii Shumada por
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada Fwdays
49 visualizações29 slides
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... por
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...ShapeBlue
74 visualizações17 slides
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... por
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...ShapeBlue
93 visualizações13 slides
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ... por
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...ShapeBlue
114 visualizações12 slides
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... por
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...ShapeBlue
86 visualizações25 slides

Último(20)

Network Source of Truth and Infrastructure as Code revisited por Network Automation Forum
Network Source of Truth and Infrastructure as Code revisitedNetwork Source of Truth and Infrastructure as Code revisited
Network Source of Truth and Infrastructure as Code revisited
Network Automation Forum49 visualizações
"Surviving highload with Node.js", Andrii Shumada por Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays49 visualizações
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... por ShapeBlue
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue74 visualizações
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... por ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue93 visualizações
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ... por ShapeBlue
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
ShapeBlue114 visualizações
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... por ShapeBlue
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue86 visualizações
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... por James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson142 visualizações
NTGapps NTG LowCode Platform por Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu287 visualizações
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue por ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue134 visualizações
Keynote Talk: Open Source is Not Dead - Charles Schulz - Vates por ShapeBlue
Keynote Talk: Open Source is Not Dead - Charles Schulz - VatesKeynote Talk: Open Source is Not Dead - Charles Schulz - Vates
Keynote Talk: Open Source is Not Dead - Charles Schulz - Vates
ShapeBlue178 visualizações
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O... por ShapeBlue
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
ShapeBlue59 visualizações
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... por ShapeBlue
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
ShapeBlue48 visualizações
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue por ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue75 visualizações
Uni Systems for Power Platform.pptx por Uni Systems S.M.S.A.
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptx
Uni Systems S.M.S.A.60 visualizações
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue por ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
ShapeBlue191 visualizações
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue por ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue68 visualizações
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T por ShapeBlue
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
ShapeBlue81 visualizações
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... por ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue97 visualizações
Igniting Next Level Productivity with AI-Infused Data Integration Workflows por Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software373 visualizações

Message Queues with RabbitMQ - Brad Wood.pdf

  • 1. Message Queues with RabbitMQ Rabbity Goodness Brad Wood (@bdw429s)
  • 2. Links ● https://www.rabbitmq.com ● https://www.forgebox.io/view/rabbitsdk ● https://community.ortussolutions.com/ ● https://www.rabbitmq.com/stomp.html ● https://github.com/rabbitmq/rabbitmq-delayed-message-exchange
  • 3. What are Message Queues Publish/Subscribe Pattern A broker that routes messages between multiple producers and consumers RabbitMQ, ActiveMQ, Kafka, Azure Service Bus, Amazon SQS Runs as an external service Can be glue between services written in different languages Can help consolidate work between a scaled architecture
  • 4. What is a message ● Destination address ● Headers ○ Type ○ Correlation ID ○ Timestamp ○ expiration ○ Reply to address ○ Delay headers ● body ○ Binary ○ String ○ XML ○ JSON
  • 5. Terminology ● Producer ● Queue ● Consumer ● Exchange ● TCP Connection/Channel ● Routing Key
  • 10. Demo You can easily start RabbitMQ in Docker with these commands: docker pull rabbitmq:3-management docker run --rm -d -it -p 15672:15672 -p 5672:5672 rabbitmq:3-management Then access the administrator at http://localhost:15672
  • 11. Customer Use Cases Incoming lead system to create internal follow ups in a separate system without polling for new leads in DB.
  • 12. Customer Use Cases Aggregate real time changes to customer sales made across multiple systems running different versions of ColdFusion and Lucee to push real time updates to dashboards and fire related processes.
  • 13. Customer Use Cases Leverage STOMP Rabbit Plugin for websockets to push real time message to sales team agents as soon as a new lead came in. Used topic exchange to broadcast leads only to applicable team members and enforced security via auth API.
  • 14. Customer Use Cases Implemented real time chat between Twillio-powered SMS messages and web based chat UI on site so sales teams could communicate with clients. All messages were sent and received via websockets powered by Rabbit and STOMP plugin.
  • 15. Customer Use Cases Created delayed notification system to follow up with clients after unread messages. Used delayed message exchange to schedule followups based on business rules. Eliminated all DB polling to check for needed followups.
  • 16. Customer Use Cases Created user-specific notification queues to push over websockets. Each queue topic is locked down to specific users and authentication is provided by CF-based API using JWT (JSON Web Token) from browser to identify browser connections.