Presentation is loading. Please wait.

Presentation is loading. Please wait.

Strategic Sponsors Sponsors and Partners Gold Sponsors Silver Sponsors.

Similar presentations


Presentation on theme: "Strategic Sponsors Sponsors and Partners Gold Sponsors Silver Sponsors."— Presentation transcript:

1 Strategic Sponsors Sponsors and Partners Gold Sponsors Silver Sponsors

2 Why Service Oriented Architecture?
Sean Farmar @farmar

3 The Evolution Small monolith Success == growth == features ++ Scaling
Maintenance nightmare == high risk So we end up with …

4 Big Ball of Mud

5 So I went to my master

6 Solve the problem you want?
Coupling your problem is… Hmmmm SOA your solution will be

7 Why SOA? SOA's tenets are about reducing coupling.

8 Coupling Afferent (dependents) Efferent (depend on)
Temporal (time, synchronous communication) Spatial (deployment, endpoint address) Platform (protocols, .Net Remoting)

9 Coupling: Afferent & Efferent
Afferent (dependents) Efferent (depend on) Afferent & Efferent solutions: Attempt to minimize Zero coupling is not possible

10 Coupling: Temporal Temporal (time, synchronous communication)
Temporal solutions: Asynchronous messaging Publish Subscribe

11 Coupling: Spatial Spatial (deployment, endpoint address)
Spatial solutions: Delegate service location to the infrastructure, not in application code

12 Coupling: Platform Platform AKA Interoperability (protocols, .Net Remoting) Platform solutions: XML on the wire. Use standards based transfer protocol like http “Share contract and schema, not class or type”

13 Fallacies of Distributed Computing
The network is reliable. (Bill Joy and Tom Lyon) Latency is zero. (Bill Joy and Tom Lyon) Bandwidth is infinite. (Bill Joy and Tom Lyon) The network is secure. (Bill Joy and Tom Lyon) Topology doesn’t change. (Peter Deutsch) There is one administrator. (Peter Deutsch) Transport cost is zero. (Peter Deutsch) The network is homogeneous. (James Gosling) The fallacies of distributed computing describe common assumptions that are made by developers and architects in distributed systems. In 1994 Peter Deutsch wrote down seven fallacies. In 1997 James Gosling added another fallacy. These fallacies are known as “The eight fallacies of distributed computing”. In the year 2006 Ted Neward added three more fallacies, which are not so widely known. The system is atomic/monolithic. (Ted Neward) The system is finished. (Ted Neward) Business logic can and should be centralized. (Ted Neward)

14 Fallacies of Distributed Computing
Three more... The system is atomic/monolithic The system is finished Business logic can and should be centralized Ted Neward’s blog: computing-fallacies/ The fallacies of distributed computing describe common assumptions that are made by developers and architects in distributed systems. In 1994 Peter Deutsch wrote down seven fallacies. In 1997 James Gosling added another fallacy. These fallacies are known as “The eight fallacies of distributed computing”. In the year 2006 Ted Neward added three more fallacies, which are not so widely known.

15 The Fallacies EBook Go to: http://go.particular.net/developerdays16
1 min.

16 In practice

17 In practice Business domain decomposition (entity fields)
Vertical Slicing Using asynchronous messaging for state changing operation Publish subscribe Explicit intentions [naming, context] Single Responsibility Command Query Separation “Clean Code” (Uncle Bob)

18 Monolith Tight Coupling Loose Coupling UI BL DAL DB

19 Referential Integrity
Vertical Slicing Tight Coupling Loose Coupling UI BL DAL Sales Content CRM Ops DB Referential Integrity Re-introduces Coupling

20 Publish Subscribe [pub/sub]

21 Publish Subscribe [pub/sub]

22 Sales Marketing Customer Care Place Order Save status locally
Save pricing locally Subscribe to Product Pricing Updated Subscribe to Customer Status Updated Publish Product Pricing Updated Publish Customer Status Updated Marketing Customer Care Publish Order Accepted

23 Summary SOA/Microservices not a cookie cutter
Be Pragmatic, sometimes a monolith is a great solution Avoid all aspects of coupling NServiceBus Particular.net Just do it

24 Q&A Thank You! Sean Farmar Particular.net

25 Strategic Sponsors Sponsors and Partners Gold Sponsors Silver Sponsors


Download ppt "Strategic Sponsors Sponsors and Partners Gold Sponsors Silver Sponsors."

Similar presentations


Ads by Google