NSBCon - Beyond the POC
-
Upload
adam-fyles -
Category
Technology
-
view
1.475 -
download
0
description
Transcript of NSBCon - Beyond the POC
![Page 1: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/1.jpg)
Beyond the POCAdopting NServiceBus
![Page 2: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/2.jpg)
Introduction Adam Fyles
Solution Architect
Using NSB since v1.9
NServiceBus Champ
Upstate NY, US
Contact Info
adamfyles.blogspot.com
![Page 3: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/3.jpg)
The tablescape Regional Grocery Retailer
- Wine & Spirits
- Restaurants
90+ Stores in 6 states
Millions of customers
Medium to large IT department (~250)
Extremely high volume stores
![Page 4: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/4.jpg)
Let me in! Lots of competitive products, why do we need another one?
Batch jobs work just fine!
Lack of SOA understanding
Operations used to FTP
![Page 5: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/5.jpg)
The progression
SagasPub/SubPoint to
PointLoad
Balancing
![Page 6: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/6.jpg)
Load Balancing: OMS Determines how to best source product in the supply chain based on demand
Inherently batch based due to wave planning in either WMS or MFG
Requires massive throughput (by order line item) in a tight window
No commercial system could do it without heavy custom configuration and a ridiculous amount of hardware
Team was experienced PowerBuilder developers
![Page 7: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/7.jpg)
Solution Solution was to decompose orders and optimize by distribution “network”
Run aggregate demand through with the Distributor
Distributor
Worker 1 Worker 2
DB
WMS
Transportation
Publish
Ord
ers
Order Entry
Order Entry
Order Entry
![Page 8: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/8.jpg)
Distributor Demo
![Page 9: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/9.jpg)
Store
Corporate
Supply Chain Proliferation
PurchasedWMS
Integration Endpoint
HTTP
PurchasedCAO
Master DataForecasted
Orders
DataBus
Other Systems
![Page 10: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/10.jpg)
DataBus Customization Demo
![Page 11: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/11.jpg)
Takeaways… Replaying messages!!
Required more DevOps
MSDTC Tricks
Stay inside the stack
![Page 12: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/12.jpg)
Point 2 Point: Mobile Built an entire REST API around all of our Marketing tools Products Recipes Shopping Lists Online Ordering Search Ratings and Reviews
It must be fast and durable!
![Page 13: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/13.jpg)
Request/Response is not an option
![Page 14: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/14.jpg)
Mobile Solution Solution was point to point integration to backend systems of record
FlakyDB
Mobile
API
View ModelReads
Writes
Web
3rd Party
NSB
Writes
![Page 15: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/15.jpg)
Customer Facing Proliferation
API
Reads
RX PortalOffisite Vendor RX
System
WritesNSBWrites
Customer Care
RX Service Desk
![Page 16: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/16.jpg)
Custom Fault Manager Demo
![Page 17: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/17.jpg)
Takeaways… Asynchronous performs well
Messaging trumps fragile backends
Leverage local resources
![Page 18: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/18.jpg)
Pub/Sub: Pricing Legacy Mainframe System
Lots of price changes
Wide Distribution Network All Stores – POS, Scales, Signs Online – Web, mobile, email
![Page 19: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/19.jpg)
Legacy Integration Find the weak point where you can enter the host
![Page 20: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/20.jpg)
Solution
DB
Publisher
Email WebMobile
Signs
Scales
POS
Mainframe
CDC
![Page 21: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/21.jpg)
Workflow: Benefits Registration Series of questions
Plan selection
Open window of opportunity
![Page 22: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/22.jpg)
Solution
Step 1
Step 2
Step 3
Saga Storage
SharePoint Site
NServiceBus
Metrics
Reporting
![Page 23: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/23.jpg)
Takeaways… Don’t reinvent the wheel
Focus on business process
![Page 24: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/24.jpg)
Sum it up!
![Page 25: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/25.jpg)
Efficiency
![Page 26: NSBCon - Beyond the POC](https://reader035.fdocuments.in/reader035/viewer/2022062320/559197bb1a28abc1668b46a6/html5/thumbnails/26.jpg)
Focus