MA Microservices Meetup: Move fast and make things

Download MA Microservices Meetup: Move fast and make things

Post on 21-Jan-2018

141 views

Category:

Software

3 download

Embed Size (px)

TRANSCRIPT

<ol><li> 1. Microservices: move fast and break make things Rafael Schloming </li><li> 2. datawire.io Three components of Microservices 2 Technology Process People </li><li> 3. datawire.io Process 3 </li><li> 4. datawire.io Why is process so important? 4 </li><li> 5. datawire.io Velocity comes from process, not architecture 5 </li><li> 6. datawire.io Microservices: Service Oriented Development What this means Why it works How to do it 6 </li><li> 7. datawire.io Architecture vs Development 7 </li><li> 8. datawire.io Engineering is Guess &amp; Check 8 </li><li> 9. datawire.io Cost of Guess/Check 9 </li><li> 10. datawire.io Cost of Guess/Check 10 ModernDevelopment PunchCards Moores Law </li><li> 11. datawire.io Cost of Guess/Check 11 ServiceO.Development ServiceO.Architecture Cloud </li><li> 12. datawire.io Cheap Guess/Check merges roles 12 </li><li> 13. datawire.io Software vs SaaS 13 VS </li><li> 14. datawire.io Microservices Process: Service Oriented Development The output of the process: Continuously improving Service The process: Guess (incremental improvements) Check (correctness + availability &amp; user impact in production) The tools: Deployment - make small guesses Observability - measure the impact on functionality, availability, users Resilience - ensure negative impacts are not catastrophic 14 </li><li> 15. datawire.io Microservices Process: Service Oriented Development Ignore architecture, focus on release frequency As soon as you have users, adjust your process to measure user impact Recognize that stability vs progress is a fundamental tradeoff for a single service 15 </li><li> 16. datawire.io People 16 </li><li> 17. datawire.io Microservices People: Autonomous Teams What this means Why it works How to do it 17 </li><li> 18. datawire.io Cheap Guess/Check merges roles 18 </li><li> 19. datawire.io Aggregate Health: Gods Eye View Harmful 19 A B C D EX </li><li> 20. datawire.io Two Perspectives Cs problem: Is it worth it? Ds problem: Did I break C? 20 C DX </li><li> 21. datawire.io Two Solutions Operational Responsibility System Visibility &amp; Resilience 21 </li><li> 22. datawire.io Microservices People: Autonomous Teams Make your teams fully autonomous Ignore technical boundaries, define services functionally who uses the service, and what does it help them do Gods eye view is harmful decentralize the architecture &amp; operations work to avoid organizational bottlenecks 22 </li><li> 23. datawire.io Technology 23 </li><li> 24. datawire.io The tech stack Kubernetes -- infrastructure as configuration Docker -- build containers Envoy -- API gateway + L7 Router 24 </li><li> 25. datawire.io The Journey 25 Stage 1: Rapid development, early users Stage 2: Users Stage 3: Internal users, coupling Stage Successful Deploy Doesnt crash... Minimal disruption to users... No cascade failures... </li><li> 26. datawire.io Organizational Journey: Many services, different stages 26 Stage 1: Rapid development, early users Stage 2: Users Stage 3: Internal users, coupling Stage Successful Deploy Doesnt crash... Minimal disruption to users... No cascade failures... Stage 1: Rapid development, early users Stage 2: Users Stage 3: Internal users, coupling Stage 1: Rapid development, early users Stage 2: Users Stage 3: Internal users, coupling Stage 1: Rapid development, early users Stage 2: Users Stage 3: Internal users, coupling Doesnt crash... Minimal disruption to users... No cascade failures...Doesnt crash... Minimal disruption to users... No cascade failures...Doesnt crash... Minimal disruption to users... No cascade failures... </li><li> 27. datawire.io My Application 27 API GW (Envoy) Auth (auth0) Tasks Search ... Mongo DB Prometh eus </li><li> 28. datawire.io Demo http://demo.d6e.co/tasks/ 28 </li><li> 29. datawire.io Summary People: small autonomous teams Process: focus on release frequency Technology: adopt on demand to fit your workflow Demo Source: https://d6e.co/MAmsv 29 </li></ol>