Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Distributed Systems Design

Distributed Systems Design

As presented at Blaak Selectie meeting

Avatar for Dennis van der Stelt

Dennis van der Stelt

February 27, 2014

Other Decks in Technology

Transcript

  1. Dennis van der Stelt brains might melt… mine did! Dennis

    van der Stelt Software Architect http://dennis.bloggingabout.net/ [email protected] NServiceBus Community Champ DISTRIBUTED SYSTEMS DESIGN @dvdstelt #blaak
  2. Dennis van der Stelt slide heb ik er zelf tussen

    gezet voor kudos richting mark & sandra! ;-)
  3. Dennis van der Stelt A monolithic design is characterized by

    such tight coupling among modules that they really have no independent existence. monolithic
  4. Dennis van der Stelt Messaging  Reduces spatial coupling 

    XML for platform coupling  Asynchronous for temporal coupling
  5. Dennis van der Stelt of service orientation  Tenets boundaries

    are explicit services are autonomous share schema & contract, not class & type compatibility is based on policy
  6. Dennis van der Stelt PUBLISH EVENTS Subscribe invoice updates Unpaid

    Invoices Subscribe to customer status updates Customer Disabled Save event status locally Save event status locally Retrieve companies
  7. Dennis van der Stelt TEMPORAL COUPLING Synchronous communication Order accepted

    DoesCompanyHaveCredit(companyId) Place new order Company
  8. Dennis van der Stelt TEMPORAL COUPLING Asynchronous communication Order accepted

    DoesCompanyHaveCredit(companyId) Place new order GotData? GotData? GotData? :)
  9. Dennis van der Stelt TEMPORAL COUPLING Event Driven Communication Order

    accepted Publish CompanyHasCredit status Place new order Store data
  10. Dennis van der Stelt Warehouse Service Sales Service Product Service

    Ordering Products Shipping regular customer strategic customer
  11. Dennis van der Stelt Warehouse Service Product Service Products Shipping

    Sales Service Ordering regular customer strategic customer
  12. Dennis van der Stelt Warehouse Service Product Service Products Shipping

    Sales Service Ordering Strategic Customers Regular Customers regular customer strategic customer ?
  13. Dennis van der Stelt Warehouse Service Product Service Products Shipping

    Sales Service Ordering Strategic Customers Regular Customers regular customer strategic customer subscribe
  14. Dennis van der Stelt Warehouse Service Product Service Products Shipping

    Sales Service Ordering Strategic Customers Regular Customers regular customer strategic customer publish
  15. Dennis van der Stelt Warehouse Service Product Service Products Shipping

    Sales Service Ordering regular customer strategic customer
  16. Dennis van der Stelt Warehouse Service Sales Service Product Service

    Ordering Products Shipping CQRS & Event Sourcing CRUD 3 Tier ARCHITECTURAL STYLES
  17. Dennis van der Stelt A service is the technical authority

    of a specific business capability If you share data over services you likely have your boundaries wrong