Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

An Introduction to Microservices

Learn what Microservices are, what characterizes this architectural style and its most significant benefits and challenges

  • Login to see the comments

An Introduction to Microservices

  1. 1. An Introduction to Microservices URI GOLDSTEIN, MARCH 2017
  2. 2. 2/23 Uri Goldstein @urig http://urig.io/ uri.goldstein@gmail.com
  3. 3. 3/23 Agenda History and Definitions Major Characteristics Strengths and Challenges Further Investigation
  4. 4. 4/23 A Bit of History  Term coined in 2011  Popular and gaining popularity  Evangelized by Netflix, AWS  All the cool kids are doing it* * Not really, no.
  5. 5. 5/23 Definition There Is No Band Official Definition
  6. 6. Definitions Netflix: “Fine grained SOA” The web: “SOA Done Right” @urig: “SOA in the Cloud” James Lewis & Martin Fowler, 2014: “An Architectural Style”  Must-read article  9 Common Characteristics
  7. 7. 7/23 Ex: Monolith vs Microservices
  8. 8. Microservices are services  Single Responsibility  Easily upgraded  Easily replaced  1 Service = 1 Process  Exclusive Ownership of Data  Polyglot Technology
  9. 9. 9/23 Microservices are micro  “Small enough to fit in one’s head”  Typically Tens to Tens of Thousands LOC  Owned by single person / team
  10. 10. 10/23 Products not Projects “You build it, You run it” DevOps Skills and Mentality Evolutionary Design
  11. 11. 11/23 Business drives architecture Cross-functional teams Organized around Business Capability 1 Service ≈ 1 Business Feature
  12. 12. 12/23 Smart endpoints and dumb pipes Microservices are the Anti-ESB
  13. 13. 13/23 Smart endpoints and dumb pipes  More like WWW: Logic resides in endpoints Comm. layer is simple Typically REST
  14. 14. 14/23 Distributed Means Distributed Designed for Failure Stateless Asynchronous
  15. 15. 15/23 Benefits Highly Scalable Cost Effective* Fast and Furious Cloud Native
  16. 16. 16/23 Challenges
  17. 17. 17/23
  18. 18. 18/23 No Compiler Safety Net Testing Versioning Backward Compatibility
  19. 19. 19/23 Easy Deployment Isn’t Easy DevOps Automation Continuous Delivery / Deployment
  20. 20. 20/23 Network Latency and Reliability Design for Failure Redundancy Monitoring Automation
  21. 21. 21/23 Take-Aways  One size does not fit all  Challenges are significant  Do you have the skills to mitigate them?  Are the benefits relevant for you?  The Good News: It’s not all or Nothing
  22. 22. 22/23 Further reading  Microservices Resource Guide https://www.martinfowler.com/microservices/  Microservices Article: Lewis, James & Fowler, Martin https://martinfowler.com/articles/microservices.html  Adrian Cockroft: Migrating to Microservices (video) https://www.infoq.com/presentations/migration-cloud-native  Loads more…
  23. 23. 23/23 Thanks for listening – Question Time uri.goldstein@gmail.com GDG Rishon JetBrains give away! http://tinyurl.com/GDGRL-March

×