SlideShare ist ein Scribd-Unternehmen logo
1 von 13
http://particular.net
Powering front end apps with NServiceBus
Sean Farmar – Mauro Servienti
Solution Architects @ Particular Software
Agenda
• Targeted responses overview
• Scale out issues
• Technical solutions
• Architectural implications
Targeted responses overview
• Also identified as Request/Reply
• Technical requirements may drive in the Request/Reply direction:
• As seen with Elton Stoneman: SignalR clients
• IoT devices that cannot participate in a pub/sub based architecture
• Integrations with third party services or legacy systems
Queue
Request / Reply scenario
SignalR
client
HTTP based
Front-end
Back-end
system
Message MessageSocket
Reply MessageReply Message
Queue
Request / Reply “Scale out” issue
SignalR
client
Front-end
Instance-1
Back-end
system
Message MessageSocket
Reply MessageReply Message
Front-end
Instance-2
Front-end
Instance-n
Socket
Instances Cluster
Request / Reply “Callbacks” scenario
Queue
SignalR
client
Front-end
Instance-1
Back-end
system
Message MessageSocket
Return Message
Front-end
Instance-2
Front-end
Instance-n
Instances Cluster
ReturnMessage
“Callbacks” Scale Out issue
Queue
SignalR
client
Front-end
Instance-1
Back-end
system
Message MessageSocket
Return Message
Front-end
Instance-2
Front-end
Instance-n
Instances Cluster
ReturnMessage
Backplane: transport agnostic
Queue
SignalR
client
Front-end
Instance-1
Back-end
system
Message MessageSocket
Reply / Event
Front-end
Instance-2
Front-end
Instance-n
Instances Cluster
backplane
Reply Message Copy
Note: A backplane is a Single Point of Failure
Unique Queue Per Endpoint Instance
SignalR
client
Front-end
Instance-1
Back-end
system
Message MessageSocket
Reply / EventFront-end
Instance-2
Front-end
Instance-n
Instances Cluster
Exchange
Reply / Event Copy
Instance-2 binding
Note: Transport dependent
Demo
Single Responsibility Principle
• Backplanes and Unique Qs force endpoints to have one responsibility:
• Talk to the SignalR client (in our sample)
• Be the bridge connecting 2 different infrastructures using different transports
• Such endpoints can’t have any business responsibility:
• All the instances would receive a copy of the message
• All the instances would try to execute the same business logic
NSBCon – Dallas, TX
December 1 – 4 – http://particular.net/nsbcon2015
Q&A
Thank you!

Weitere ähnliche Inhalte

Andere mochten auch

Making workflow implementation easy with CQRS
Making workflow implementation easy with CQRSMaking workflow implementation easy with CQRS
Making workflow implementation easy with CQRSParticular Software
 
ReactJS.NET - Fast and Scalable Single Page Applications
ReactJS.NET - Fast and Scalable Single Page ApplicationsReactJS.NET - Fast and Scalable Single Page Applications
ReactJS.NET - Fast and Scalable Single Page ApplicationsRick Beerendonk
 
Hiroshima And Nagasaki
Hiroshima And NagasakiHiroshima And Nagasaki
Hiroshima And Nagasakiguest12766c
 
Дайджест новостей и трендов в e-commerce за 25.04 – 21.05.2015
Дайджест новостей и трендов в e-commerce за 25.04 – 21.05.2015Дайджест новостей и трендов в e-commerce за 25.04 – 21.05.2015
Дайджест новостей и трендов в e-commerce за 25.04 – 21.05.2015E-commerce Solutions
 
“творчий педагог – творчі діти”
“творчий  педагог – творчі діти”“творчий  педагог – творчі діти”
“творчий педагог – творчі діти”jekah
 
Dium Corp A08cas
Dium Corp A08casDium Corp A08cas
Dium Corp A08casguest12766c
 

Andere mochten auch (12)

Making workflow implementation easy with CQRS
Making workflow implementation easy with CQRSMaking workflow implementation easy with CQRS
Making workflow implementation easy with CQRS
 
ReactJS.NET - Fast and Scalable Single Page Applications
ReactJS.NET - Fast and Scalable Single Page ApplicationsReactJS.NET - Fast and Scalable Single Page Applications
ReactJS.NET - Fast and Scalable Single Page Applications
 
Hiroshima And Nagasaki
Hiroshima And NagasakiHiroshima And Nagasaki
Hiroshima And Nagasaki
 
Дайджест новостей и трендов в e-commerce за 25.04 – 21.05.2015
Дайджест новостей и трендов в e-commerce за 25.04 – 21.05.2015Дайджест новостей и трендов в e-commerce за 25.04 – 21.05.2015
Дайджест новостей и трендов в e-commerce за 25.04 – 21.05.2015
 
Iguazu
IguazuIguazu
Iguazu
 
Perpres 71 2013_new
Perpres 71 2013_newPerpres 71 2013_new
Perpres 71 2013_new
 
“творчий педагог – творчі діти”
“творчий  педагог – творчі діти”“творчий  педагог – творчі діти”
“творчий педагог – творчі діти”
 
Mutantes
MutantesMutantes
Mutantes
 
Dium Corp A08cas
Dium Corp A08casDium Corp A08cas
Dium Corp A08cas
 
Labuan cermin
Labuan cerminLabuan cermin
Labuan cermin
 
Perlas 1
Perlas 1Perlas 1
Perlas 1
 
JesúS, Amigo
JesúS, AmigoJesúS, Amigo
JesúS, Amigo
 

Ähnlich wie Powering front end apps with NServiceBus

Industrial Ethernet, Part 2: Case Studies
Industrial Ethernet,Part 2: Case StudiesIndustrial Ethernet,Part 2: Case Studies
Industrial Ethernet, Part 2: Case StudiesControlEng
 
Webinar: Detecting Deadlocks in Electronic Systems using Time-based Simulation
Webinar: Detecting Deadlocks in Electronic Systems using Time-based SimulationWebinar: Detecting Deadlocks in Electronic Systems using Time-based Simulation
Webinar: Detecting Deadlocks in Electronic Systems using Time-based SimulationDeepak Shankar
 
Webinar on Functional Safety Analysis using Model-based System Analysis
Webinar on Functional Safety Analysis using Model-based System AnalysisWebinar on Functional Safety Analysis using Model-based System Analysis
Webinar on Functional Safety Analysis using Model-based System AnalysisDeepak Shankar
 
Incremental Model Queries for Model-Dirven Software Engineering
Incremental Model Queries for Model-Dirven Software EngineeringIncremental Model Queries for Model-Dirven Software Engineering
Incremental Model Queries for Model-Dirven Software EngineeringÁkos Horváth
 
stream-processing-at-linkedin-with-apache-samza
stream-processing-at-linkedin-with-apache-samzastream-processing-at-linkedin-with-apache-samza
stream-processing-at-linkedin-with-apache-samzaAbhishek Shivanna
 
Network Telemetry: Pushing Boundaries
Network Telemetry: Pushing BoundariesNetwork Telemetry: Pushing Boundaries
Network Telemetry: Pushing BoundariesRam (Ramki) Krishnan
 
BizTalk controlled throttling
BizTalk controlled throttlingBizTalk controlled throttling
BizTalk controlled throttlingBizTalk360
 
resume_sdb 10-25-2015
resume_sdb 10-25-2015resume_sdb 10-25-2015
resume_sdb 10-25-2015Steven Bock
 
Inside Kafka Streams—Monitoring Comcast’s Outside Plant
Inside Kafka Streams—Monitoring Comcast’s Outside Plant Inside Kafka Streams—Monitoring Comcast’s Outside Plant
Inside Kafka Streams—Monitoring Comcast’s Outside Plant confluent
 
Ims...cascademic overview v1 for website
Ims...cascademic overview v1 for websiteIms...cascademic overview v1 for website
Ims...cascademic overview v1 for websiteSyedjavidali Javid
 
Samza at LinkedIn
Samza at LinkedInSamza at LinkedIn
Samza at LinkedInVenu Ryali
 
ASIC Design Fundamentals.pptx
ASIC Design Fundamentals.pptxASIC Design Fundamentals.pptx
ASIC Design Fundamentals.pptxRameshK531901
 
Verilog, SV and UVM _Course Content.pdf
Verilog, SV and UVM _Course Content.pdfVerilog, SV and UVM _Course Content.pdf
Verilog, SV and UVM _Course Content.pdfMultisoft Systems
 
Access policy consolidation for event processing systems
Access policy consolidation for event processing systemsAccess policy consolidation for event processing systems
Access policy consolidation for event processing systemssumit kumar
 
Sym 2015 product overview apr2015
Sym 2015 product overview apr2015Sym 2015 product overview apr2015
Sym 2015 product overview apr2015Todd Masters
 
Fpga asic technologies_flow
Fpga asic technologies_flowFpga asic technologies_flow
Fpga asic technologies_flowravi4all
 
What's Missing? Microservices Meetup at Cisco
What's Missing? Microservices Meetup at CiscoWhat's Missing? Microservices Meetup at Cisco
What's Missing? Microservices Meetup at CiscoAdrian Cockcroft
 
Chandan Kumar_3+_Years _EXP
Chandan Kumar_3+_Years _EXPChandan Kumar_3+_Years _EXP
Chandan Kumar_3+_Years _EXPChandan kumar
 
PrismTech Integrated Communications Systems Modeling
PrismTech Integrated Communications Systems ModelingPrismTech Integrated Communications Systems Modeling
PrismTech Integrated Communications Systems ModelingADLINK Technology IoT
 

Ähnlich wie Powering front end apps with NServiceBus (20)

Industrial Ethernet, Part 2: Case Studies
Industrial Ethernet,Part 2: Case StudiesIndustrial Ethernet,Part 2: Case Studies
Industrial Ethernet, Part 2: Case Studies
 
Webinar: Detecting Deadlocks in Electronic Systems using Time-based Simulation
Webinar: Detecting Deadlocks in Electronic Systems using Time-based SimulationWebinar: Detecting Deadlocks in Electronic Systems using Time-based Simulation
Webinar: Detecting Deadlocks in Electronic Systems using Time-based Simulation
 
Webinar on Functional Safety Analysis using Model-based System Analysis
Webinar on Functional Safety Analysis using Model-based System AnalysisWebinar on Functional Safety Analysis using Model-based System Analysis
Webinar on Functional Safety Analysis using Model-based System Analysis
 
Incremental Model Queries for Model-Dirven Software Engineering
Incremental Model Queries for Model-Dirven Software EngineeringIncremental Model Queries for Model-Dirven Software Engineering
Incremental Model Queries for Model-Dirven Software Engineering
 
stream-processing-at-linkedin-with-apache-samza
stream-processing-at-linkedin-with-apache-samzastream-processing-at-linkedin-with-apache-samza
stream-processing-at-linkedin-with-apache-samza
 
Network Telemetry: Pushing Boundaries
Network Telemetry: Pushing BoundariesNetwork Telemetry: Pushing Boundaries
Network Telemetry: Pushing Boundaries
 
BizTalk controlled throttling
BizTalk controlled throttlingBizTalk controlled throttling
BizTalk controlled throttling
 
resume_sdb 10-25-2015
resume_sdb 10-25-2015resume_sdb 10-25-2015
resume_sdb 10-25-2015
 
Inside Kafka Streams—Monitoring Comcast’s Outside Plant
Inside Kafka Streams—Monitoring Comcast’s Outside Plant Inside Kafka Streams—Monitoring Comcast’s Outside Plant
Inside Kafka Streams—Monitoring Comcast’s Outside Plant
 
Ims...cascademic overview v1 for website
Ims...cascademic overview v1 for websiteIms...cascademic overview v1 for website
Ims...cascademic overview v1 for website
 
Soc.pptx
Soc.pptxSoc.pptx
Soc.pptx
 
Samza at LinkedIn
Samza at LinkedInSamza at LinkedIn
Samza at LinkedIn
 
ASIC Design Fundamentals.pptx
ASIC Design Fundamentals.pptxASIC Design Fundamentals.pptx
ASIC Design Fundamentals.pptx
 
Verilog, SV and UVM _Course Content.pdf
Verilog, SV and UVM _Course Content.pdfVerilog, SV and UVM _Course Content.pdf
Verilog, SV and UVM _Course Content.pdf
 
Access policy consolidation for event processing systems
Access policy consolidation for event processing systemsAccess policy consolidation for event processing systems
Access policy consolidation for event processing systems
 
Sym 2015 product overview apr2015
Sym 2015 product overview apr2015Sym 2015 product overview apr2015
Sym 2015 product overview apr2015
 
Fpga asic technologies_flow
Fpga asic technologies_flowFpga asic technologies_flow
Fpga asic technologies_flow
 
What's Missing? Microservices Meetup at Cisco
What's Missing? Microservices Meetup at CiscoWhat's Missing? Microservices Meetup at Cisco
What's Missing? Microservices Meetup at Cisco
 
Chandan Kumar_3+_Years _EXP
Chandan Kumar_3+_Years _EXPChandan Kumar_3+_Years _EXP
Chandan Kumar_3+_Years _EXP
 
PrismTech Integrated Communications Systems Modeling
PrismTech Integrated Communications Systems ModelingPrismTech Integrated Communications Systems Modeling
PrismTech Integrated Communications Systems Modeling
 

Kürzlich hochgeladen

MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456KiaraTiradoMicha
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxalwaysnagaraju26
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 

Kürzlich hochgeladen (20)

MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 

Powering front end apps with NServiceBus

  • 1. http://particular.net Powering front end apps with NServiceBus Sean Farmar – Mauro Servienti Solution Architects @ Particular Software
  • 2. Agenda • Targeted responses overview • Scale out issues • Technical solutions • Architectural implications
  • 3. Targeted responses overview • Also identified as Request/Reply • Technical requirements may drive in the Request/Reply direction: • As seen with Elton Stoneman: SignalR clients • IoT devices that cannot participate in a pub/sub based architecture • Integrations with third party services or legacy systems
  • 4. Queue Request / Reply scenario SignalR client HTTP based Front-end Back-end system Message MessageSocket Reply MessageReply Message
  • 5. Queue Request / Reply “Scale out” issue SignalR client Front-end Instance-1 Back-end system Message MessageSocket Reply MessageReply Message Front-end Instance-2 Front-end Instance-n Socket Instances Cluster
  • 6. Request / Reply “Callbacks” scenario Queue SignalR client Front-end Instance-1 Back-end system Message MessageSocket Return Message Front-end Instance-2 Front-end Instance-n Instances Cluster ReturnMessage
  • 7. “Callbacks” Scale Out issue Queue SignalR client Front-end Instance-1 Back-end system Message MessageSocket Return Message Front-end Instance-2 Front-end Instance-n Instances Cluster ReturnMessage
  • 8. Backplane: transport agnostic Queue SignalR client Front-end Instance-1 Back-end system Message MessageSocket Reply / Event Front-end Instance-2 Front-end Instance-n Instances Cluster backplane Reply Message Copy Note: A backplane is a Single Point of Failure
  • 9. Unique Queue Per Endpoint Instance SignalR client Front-end Instance-1 Back-end system Message MessageSocket Reply / EventFront-end Instance-2 Front-end Instance-n Instances Cluster Exchange Reply / Event Copy Instance-2 binding Note: Transport dependent
  • 10. Demo
  • 11. Single Responsibility Principle • Backplanes and Unique Qs force endpoints to have one responsibility: • Talk to the SignalR client (in our sample) • Be the bridge connecting 2 different infrastructures using different transports • Such endpoints can’t have any business responsibility: • All the instances would receive a copy of the message • All the instances would try to execute the same business logic
  • 12. NSBCon – Dallas, TX December 1 – 4 – http://particular.net/nsbcon2015

Hinweis der Redaktion

  1. Difference with Request / Response