Microservices Not Monoliths - Using PaaS to Enable a Microservices Architecture
-
Upload
activestate -
Category
Technology
-
view
227 -
download
0
description
Transcript of Microservices Not Monoliths - Using PaaS to Enable a Microservices Architecture
Microservices not MonolithsPhil WhelanTechnology Evangelist@philwhln
John WetherillTechnology Evangelist@bcferrycoder
September 2014
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Presenters
Phil WhelanTechnology Evangelist@philwhln
John WetherillTechnology
Evangelist@bcferrycoder
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Agenda
● Monoliths
● Benefits
● Challenges and Pitfalls
● Evolving Practices
● Testing
● Deployment and DevOps
● PaaS
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Recent Events
DevOps Days Boston
VMWorld US 2014
OpenStack Silicon Valley
Microservices Meetup
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Monoliths
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Monoliths
Monolithic Applications
●Complexity is internal
●Multiple large and coordinating teams
●Huge codebases packaged as single .war file
●Easier in short term to get code out the door
●Long complex release and deploy cycles
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Benefits
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Benefits
● Small Focused Teams
● Use the Right Tool (language/db) for the Job
● Independent Updates
● Empower Developers
● Rapid Delivery Cycle
● Enforces Strong Design
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Challenges
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Challenges
● Increased Complexity
● Conceptualization/Visualization
● Immature Toolsets
● Culture Shock
● Lack of Experience/Knowledge
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Evolving Practices
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Evolving Practices
● Immutable Code Service Patterns
● Avoid Trunk Conflicts
● Respect Human Attention Span
● Break Things Deliberately
● No Manual Anything
● Create and Curate Access Libraries
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Testing
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Testing
● More Complexity in Integration Testing
○ Grows Factorially O(n!)
● "Integrated Tests Are A Scam" - J.B. Rainsberger
● Pacts
● Consistent Environment
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Deployment and DevOps
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Deployment and DevOps
● DevOps Culture is a Must
● Invert Conway’s Law
● Eliminate Process
● Two Pizza Team Rule
● Developers Carry Pager
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
PaaS
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
PaaS
● Cluster Management
● Failover Resilience
● Routing and Load Balancing
● Deployment Automation
● Consistent Environments
● Self-Service
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
PaaS
● Scalable out of the Gate - autoscaling
● Rollback
● Versioning
● Polyglot out of the Box
● Monitoring / Logging
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
PaaS
● Provisioning Databases, Message Queues, etc
● Injecting Service Location and Credentials
● Service Discovery
● Immutable Service Patterns
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Related Blog Posts
activestate.com/blog
●Microservices and PaaS - Part I
○ Overview
●Microservices and PaaS - Part II
○ Evolving Practices
●Microservices and PaaS - Part III
○ Challenges
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Upcoming Blog Posts
activestate.com/blog
●Microservices and PaaS - Part IV
○ PaaS
●Microservices Resources
○ Other blog posts, videos etc
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Upcoming Events
activestate.com/stackato | @activestate | #stackato | activestate.com/blog | Copyright 2014
Upcoming Events
Cloud Connect (Interop)October 1 - 2
iTech Conference 2014October 9
Cloud Expo (DevOps Summit)November 4 - 6
October 27 - 29IT Cloud Computing Conference
Questions?
Learn morehttp://www.activestate.com/stackato