SlideShare une entreprise Scribd logo
1  sur  24
NServiceBus introduction
Boris Tveritnev
27/08/2015
http://apod.nasa.gov/apod/image/1203/ngc1300_hst_6637.jpg
NServiceBus
Messaging and Workflow
ServicePulse
Production Monitoring
ServiceMatrix
Modelling & Design
ServiceInsight
Advanced Debugging
Particular software
What service bus is?
• Think of your system as passing messages
between components
• Dynamic routing
• No bindings to physical location
• Messages addressed to logical locations
• Infrastructure makes sure messages get to the
recipient, even if they change physical
locations
http://www.heavensgloryobservatory.com/Color_Jpegs/ngc2244NB03.jpg
• Publish / Subscribe
• Long-running stateful processes
• Client can send messages if server is offline
• Poison message detection and dispatching
• Poison messages re-processing
• Subscriptions persist after restart
• Polymorphic message dispatch
• Message-driven unit testing
NServiceBus features
• MSMQ
• SQL Server Service Broker
• AMQP brokers (ActiveMQ,
RabbitMQ)
• Cloud queues (Azure Queue,
Amazon SQS)
• Many more
Messaging transports
http://apod.nasa.gov/apod/image/0810/ic2118_ssro.jpg
Ugly slide
• Deadlocks under load
• Order processing failures - we lose
money
• Put yours
http://www.space.com/28254-monster-black-hole-nasa-nustar-image.html
Challenges with RPC
What service bus is?
• Think of your system as passing
messages between components
• Dynamic routing
http://www.heavensgloryobservatory.com/Color_Jpegs/ngc2244NB03.jpg
• Command messages (Request-
Response)
• Event messages (Publish-
Subscribe)
http://apod.nasa.gov/apod/image/0508/albireo_yandrik_big.jpg
Asynchronous messaging
• Many clients, one server
• Server’s capabilities are known
• Server’s location is known
• Strong coupling
Request-Response, sort of
http://old-computers.com/MUSEUM/software/Sharp_X1_Galaxian_S.PNG
• Consistency (for a short period)
• Availability
• Partition tolerance
Eventual consistency
http://www.nasa.gov/sites/default/files/images/117227main_image_feature_342_ys_full.jpg
Reliable requests processing
Example 1
What service bus is?
• No bindings to specific location
• Messages addressed to logical locations
• Infrastructure makes sure messages get to the
recipient, even if they change physical
locations
http://www.heavensgloryobservatory.com/Color_Jpegs/ngc2244NB03.jpg
• One (logical) publishing authority,
many subscribers
• Publisher doesn’t care about
subscribers
• Loose coupling
Publish-subscribe
http://www.mdscc.nasa.gov/upload/201301/andromeda.jpg
Polymorphic dispatch/routing
• Version API through multiple inheritance
• Introduce new handlers/subscribers without
touching any of the other subscribers
• Upgrade existing components step by step
without taking the whole system down
http://www.nasa.gov/centers/goddard/images/content/280046main_CassAcomposite_HI.jpg
• A retailer can't ship a product until the CC has
been charged
• A customer can attain a preferred status only
after spending a certain amount of money
• Premium membership is in effect as long as all
invoices were paid in time
Long-running processes
http://www.nasa.gov/sites/default/files/images/117227main_image_feature_342_ys_full.jpg
• Controller that actively manages business
process activities
• Observer, passively listening to external
events, coordinating some activity
• Mixed
Saga patterns
http://i.stack.imgur.com/lFnDf.jpg
Loosely coupled services with Pub-
Sub
Long running process
Example 2
The
takeaway
• Designed around distributed systems fallacies
• Simplifies the development of scalable
distributed systems
• Reduces cost of development and
maintenance
• Cookies
• http://particular.net/HandsOnLabs
• http://particular.net/Videos-and-
Presentations
• http://www.udidahan.com/?blog=true
• Examples and slides
https://www.spacetelescope.org/images/potw1530a/
More info
Questions?
• D. Boike, Learning NServiceBus, Packt
Publishing 2013, ISBN-13: 978-1782166344
• http://www.cs.cornell.edu/andru/cs711/2002f
a/reading/sagas.pdf
• https://lostechies.com/jimmybogard/2013/05
/14/saga-patterns-wrap-up/
• G. Hohpe, Enterprise Integration Patterns,
Addison-Wesley Professional 2003, ISBN-13:
978-0321200686
https://www.spacetelescope.org/images/potw1530a/
References
• Email: boris.tveritnev@gmail.com
• XING: www.xing.com/profile/Boris_Tveritnev
• LNKD: de.linkedin.com/pub/boris-
tveritnev/11/3a4/113/
• Github: https://github.com/siniypin
Contact details
https://www.spacetelescope.org/images/potw1530a/
Thank you!
Boris Tveritnev, 2015, Hamburg

Contenu connexe

Tendances

Tendances (20)

Azure Service Bus Queue API for Scala
Azure Service Bus Queue API for ScalaAzure Service Bus Queue API for Scala
Azure Service Bus Queue API for Scala
 
Messaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQMessaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQ
 
Kafka on Pulsar
Kafka on Pulsar Kafka on Pulsar
Kafka on Pulsar
 
NATS for Modern Messaging and Microservices
NATS for Modern Messaging and MicroservicesNATS for Modern Messaging and Microservices
NATS for Modern Messaging and Microservices
 
Kafka as Message Broker
Kafka as Message BrokerKafka as Message Broker
Kafka as Message Broker
 
An Introduction to Apache Kafka
An Introduction to Apache KafkaAn Introduction to Apache Kafka
An Introduction to Apache Kafka
 
AWS Data Collection & Storage
AWS Data Collection & StorageAWS Data Collection & Storage
AWS Data Collection & Storage
 
Message Redelivery: An Unexpected Journey - Pulsar Summit SF 2022
Message Redelivery: An Unexpected Journey - Pulsar Summit SF 2022Message Redelivery: An Unexpected Journey - Pulsar Summit SF 2022
Message Redelivery: An Unexpected Journey - Pulsar Summit SF 2022
 
Java MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & OptimizationJava MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & Optimization
 
Maria db 이중화구성_고민하기
Maria db 이중화구성_고민하기Maria db 이중화구성_고민하기
Maria db 이중화구성_고민하기
 
Apache kafka performance(throughput) - without data loss and guaranteeing dat...
Apache kafka performance(throughput) - without data loss and guaranteeing dat...Apache kafka performance(throughput) - without data loss and guaranteeing dat...
Apache kafka performance(throughput) - without data loss and guaranteeing dat...
 
[135] 오픈소스 데이터베이스, 은행 서비스에 첫발을 내밀다.
[135] 오픈소스 데이터베이스, 은행 서비스에 첫발을 내밀다.[135] 오픈소스 데이터베이스, 은행 서비스에 첫발을 내밀다.
[135] 오픈소스 데이터베이스, 은행 서비스에 첫발을 내밀다.
 
AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018
 
Orchestration Patterns for Microservices with Messaging by RabbitMQ
Orchestration Patterns for Microservices with Messaging by RabbitMQOrchestration Patterns for Microservices with Messaging by RabbitMQ
Orchestration Patterns for Microservices with Messaging by RabbitMQ
 
MySQL_MariaDB-성능개선-202201.pptx
MySQL_MariaDB-성능개선-202201.pptxMySQL_MariaDB-성능개선-202201.pptx
MySQL_MariaDB-성능개선-202201.pptx
 
Understanding of Apache kafka metrics for monitoring
Understanding of Apache kafka metrics for monitoring Understanding of Apache kafka metrics for monitoring
Understanding of Apache kafka metrics for monitoring
 
Spring integration
Spring integrationSpring integration
Spring integration
 
카프카(kafka) 성능 테스트 환경 구축 (JMeter, ELK)
카프카(kafka) 성능 테스트 환경 구축 (JMeter, ELK)카프카(kafka) 성능 테스트 환경 구축 (JMeter, ELK)
카프카(kafka) 성능 테스트 환경 구축 (JMeter, ELK)
 
[OpenInfra Days Korea 2018] (Track 4) - Grafana를 이용한 OpenStack 클라우드 성능 모니터링
[OpenInfra Days Korea 2018] (Track 4) - Grafana를 이용한 OpenStack 클라우드 성능 모니터링[OpenInfra Days Korea 2018] (Track 4) - Grafana를 이용한 OpenStack 클라우드 성능 모니터링
[OpenInfra Days Korea 2018] (Track 4) - Grafana를 이용한 OpenStack 클라우드 성능 모니터링
 
Azure reference architectures
Azure reference architecturesAzure reference architectures
Azure reference architectures
 

Similaire à NServiceBus introduction

Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)
Rick Hightower
 

Similaire à NServiceBus introduction (20)

Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
What's new in NGINX Plus R19
What's new in NGINX Plus R19What's new in NGINX Plus R19
What's new in NGINX Plus R19
 
Migration of Two Million Records with Zero Downtime for a Global Financial Or...
Migration of Two Million Records with Zero Downtime for a Global Financial Or...Migration of Two Million Records with Zero Downtime for a Global Financial Or...
Migration of Two Million Records with Zero Downtime for a Global Financial Or...
 
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
 
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
 
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland HochmuthOSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
 
OSMC 2016 | Monasca: Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
OSMC 2016 | Monasca: Monitoring-as-a-Service (at-Scale) by Roland HochmuthOSMC 2016 | Monasca: Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
OSMC 2016 | Monasca: Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
 
Ruslan Belkin And Sean Dawson on LinkedIn's Network Updates Uncovered
Ruslan Belkin And Sean Dawson on LinkedIn's Network Updates UncoveredRuslan Belkin And Sean Dawson on LinkedIn's Network Updates Uncovered
Ruslan Belkin And Sean Dawson on LinkedIn's Network Updates Uncovered
 
Do You Need A Service Mesh?
Do You Need A Service Mesh?Do You Need A Service Mesh?
Do You Need A Service Mesh?
 
Managing Microservices With The Istio Service Mesh on Kubernetes
Managing Microservices With The Istio Service Mesh on KubernetesManaging Microservices With The Istio Service Mesh on Kubernetes
Managing Microservices With The Istio Service Mesh on Kubernetes
 
WSO2Con USA 2015: WSO2 Integration Platform Deep Dive
WSO2Con USA 2015: WSO2 Integration Platform Deep DiveWSO2Con USA 2015: WSO2 Integration Platform Deep Dive
WSO2Con USA 2015: WSO2 Integration Platform Deep Dive
 
Microservices-101
Microservices-101Microservices-101
Microservices-101
 
Cloud as a Service: A Powerful New Cloud Management Platform
Cloud as a Service: A Powerful New Cloud Management PlatformCloud as a Service: A Powerful New Cloud Management Platform
Cloud as a Service: A Powerful New Cloud Management Platform
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolith
 
Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)
 
Calgary azure dev camp - Service Bus
Calgary azure dev camp - Service BusCalgary azure dev camp - Service Bus
Calgary azure dev camp - Service Bus
 
Cisco-Wireless-Guest-v10.pptx
Cisco-Wireless-Guest-v10.pptxCisco-Wireless-Guest-v10.pptx
Cisco-Wireless-Guest-v10.pptx
 
Newt global meetup microservices
Newt global meetup microservicesNewt global meetup microservices
Newt global meetup microservices
 
Azure Messaging Services #1
Azure Messaging Services #1Azure Messaging Services #1
Azure Messaging Services #1
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
 

Dernier

CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 

Dernier (20)

CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
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
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
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
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 

NServiceBus introduction

  • 2. NServiceBus Messaging and Workflow ServicePulse Production Monitoring ServiceMatrix Modelling & Design ServiceInsight Advanced Debugging Particular software
  • 3. What service bus is? • Think of your system as passing messages between components • Dynamic routing • No bindings to physical location • Messages addressed to logical locations • Infrastructure makes sure messages get to the recipient, even if they change physical locations http://www.heavensgloryobservatory.com/Color_Jpegs/ngc2244NB03.jpg
  • 4. • Publish / Subscribe • Long-running stateful processes • Client can send messages if server is offline • Poison message detection and dispatching • Poison messages re-processing • Subscriptions persist after restart • Polymorphic message dispatch • Message-driven unit testing NServiceBus features
  • 5. • MSMQ • SQL Server Service Broker • AMQP brokers (ActiveMQ, RabbitMQ) • Cloud queues (Azure Queue, Amazon SQS) • Many more Messaging transports http://apod.nasa.gov/apod/image/0810/ic2118_ssro.jpg
  • 7. • Deadlocks under load • Order processing failures - we lose money • Put yours http://www.space.com/28254-monster-black-hole-nasa-nustar-image.html Challenges with RPC
  • 8. What service bus is? • Think of your system as passing messages between components • Dynamic routing http://www.heavensgloryobservatory.com/Color_Jpegs/ngc2244NB03.jpg
  • 9. • Command messages (Request- Response) • Event messages (Publish- Subscribe) http://apod.nasa.gov/apod/image/0508/albireo_yandrik_big.jpg Asynchronous messaging
  • 10. • Many clients, one server • Server’s capabilities are known • Server’s location is known • Strong coupling Request-Response, sort of http://old-computers.com/MUSEUM/software/Sharp_X1_Galaxian_S.PNG
  • 11. • Consistency (for a short period) • Availability • Partition tolerance Eventual consistency http://www.nasa.gov/sites/default/files/images/117227main_image_feature_342_ys_full.jpg
  • 13. What service bus is? • No bindings to specific location • Messages addressed to logical locations • Infrastructure makes sure messages get to the recipient, even if they change physical locations http://www.heavensgloryobservatory.com/Color_Jpegs/ngc2244NB03.jpg
  • 14. • One (logical) publishing authority, many subscribers • Publisher doesn’t care about subscribers • Loose coupling Publish-subscribe http://www.mdscc.nasa.gov/upload/201301/andromeda.jpg
  • 15. Polymorphic dispatch/routing • Version API through multiple inheritance • Introduce new handlers/subscribers without touching any of the other subscribers • Upgrade existing components step by step without taking the whole system down http://www.nasa.gov/centers/goddard/images/content/280046main_CassAcomposite_HI.jpg
  • 16. • A retailer can't ship a product until the CC has been charged • A customer can attain a preferred status only after spending a certain amount of money • Premium membership is in effect as long as all invoices were paid in time Long-running processes http://www.nasa.gov/sites/default/files/images/117227main_image_feature_342_ys_full.jpg
  • 17. • Controller that actively manages business process activities • Observer, passively listening to external events, coordinating some activity • Mixed Saga patterns http://i.stack.imgur.com/lFnDf.jpg
  • 18. Loosely coupled services with Pub- Sub Long running process Example 2
  • 19. The takeaway • Designed around distributed systems fallacies • Simplifies the development of scalable distributed systems • Reduces cost of development and maintenance • Cookies
  • 20. • http://particular.net/HandsOnLabs • http://particular.net/Videos-and- Presentations • http://www.udidahan.com/?blog=true • Examples and slides https://www.spacetelescope.org/images/potw1530a/ More info
  • 22. • D. Boike, Learning NServiceBus, Packt Publishing 2013, ISBN-13: 978-1782166344 • http://www.cs.cornell.edu/andru/cs711/2002f a/reading/sagas.pdf • https://lostechies.com/jimmybogard/2013/05 /14/saga-patterns-wrap-up/ • G. Hohpe, Enterprise Integration Patterns, Addison-Wesley Professional 2003, ISBN-13: 978-0321200686 https://www.spacetelescope.org/images/potw1530a/ References
  • 23. • Email: boris.tveritnev@gmail.com • XING: www.xing.com/profile/Boris_Tveritnev • LNKD: de.linkedin.com/pub/boris- tveritnev/11/3a4/113/ • Github: https://github.com/siniypin Contact details https://www.spacetelescope.org/images/potw1530a/