1 / 27

Udi Dahan – The Software Simplist .NET Development Expert & SOA Specialist

.NET Services Framework. Udi Dahan – The Software Simplist .NET Development Expert & SOA Specialist. One way messaging always works. and scales. One-way, Fire & Forget. Server. Client. Boring!. Store and Forward. adds resilience. Server. MSMQ Outgoing Incoming. MSMQ

hunter-gray
Download Presentation

Udi Dahan – The Software Simplist .NET Development Expert & SOA Specialist

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. .NET Services Framework • Udi Dahan – The Software Simplist • .NET Development Expert & SOA Specialist

  2. One way messaging always works

  3. and scales

  4. One-way, Fire & Forget

  5. Server Client

  6. Boring!

  7. Store and Forward adds resilience

  8. Server MSMQ OutgoingIncoming MSMQ OutgoingIncoming Client

  9. Full Duplex is more interesting But nothing new

  10. Server MSMQ OutgoingIncoming MSMQ OutgoingIncoming Client

  11. Broadcast & Pub/Sub change things

  12. Subscriber Publisher Subscribe Subscriber Subscriber Subscriber Subscriber

  13. Subscriber Publisher abcdefgh abcdefgh abcdefgh abcdefgh abcdefgh Subscriber Subscriber Subscriber Subscriber

  14. Load must be balanced

  15. And each message handled by just one subscriber

  16. Worker Publisher Subscribe to Order Received Worker Return Address: Distributor Worker Distributor Worker Worker

  17. Worker Publisher Order Received Order Received Worker Worker Distributor Choose available worker Worker Worker

  18. Also known as “Shared Subscriptions”

  19. Revenue Revenue Revenue Cost Revenue Cost Revenue Cost Revenue Cost Statefull Business ProcessesWhen things occur matters … Out-of-stock,perpetual Inventory 3 PL Providers In-transit visibility Automatic Receiving Real time inventorylocation and count Invoice reconciliation Better promotionexecution and planning Local Supplier(s) Automated Shippingand Verification In Process Visibility Low asset utilization MajorRetailers Open and Closeloop Asset Tracking Automated Inventory counts Real time alerts Automatic Receiving ASN Regional Warehouse/ Cross-Docking Center InternationalSupplier Counterfeit, Shrinkage Missedshipment ManufacturingPlants National Warehouse SmallerRetailers Missed orincomplete shipments WIP inventory,shipping errors OverseasSupplier(s)

  20. Statefull Business ProcessesWhen things occur matters …

  21. Sagas: State Machine SolutionsDistributing instances of the same state

  22. Create Saga For Message Bus Start Saga Message Saga Dispatch Message Send Saga Messages Saga Persister Save Saga Persist DB

  23. Saga Message Saga Persister Bus Get Saga by Message.SagaId 2.New 3.Fill Dispatch Message Saga 4.Return Saga Complete Saga Complete Delete 1.Get Timeouts are regular messages Can occur on multiple machines concurrently DB

  24. Save State Get State DB Publisher Remind me Reminder Rush Job Job Late Job Job Timeout Manager Step 1 Complete Distributor Worker Client

  25. Supporting different Service-Level Agreements Use different distributor-worker sets per SLA

  26. Worker3 Worker3 Worker1 Worker1 Worker2 Worker2 Grid UI Worker3 Distributor2 Worker1 Worker2 Adjust maximum worker threads per process Worker3 Distributor1 Worker1 Worker2 Worker3 Distributor3 Worker3 Worker1 Worker1 Worker2 Worker2

  27. .NET Services Framework • Thank you • Udi Dahan – The Software Simplist • .NET Development Expert & SOA Specialist • www.nServiceBus.com • www.UdiDahan.com

More Related