Weitere ähnliche Inhalte Ähnlich wie Accelerating Innovation with Microservices (20) Mehr von VMware Tanzu (20) Kürzlich hochgeladen (20) Accelerating Innovation with Microservices2. 2© 2014 Pivotal Software, Inc. All rights reserved. 2
Microservices
Why?
3. 3© 2014 Pivotal Software, Inc. All rights reserved.
Disruptive Innovation
4. 4© 2014 Pivotal Software, Inc. All rights reserved.
Competition & Opportunity – Continuous
Innovation
Then
Now
5. 5© 2014 Pivotal Software, Inc. All rights reserved.
Continuous Delivery – The New Imperative for
Application Delivery
Risk
Speed Scale
6. 6© 2014 Pivotal Software, Inc. All rights reserved.
Continuous Delivery – Resonant Agility
Architecture
PlatformProcess
7. 7© 2014 Pivotal Software, Inc. All rights reserved.
Cloud Native *
Architecture
PlatformProcess
Microservices12-Factor
DevOps
Docker
Kubernetes
8. 8© 2014 Pivotal Software, Inc. All rights reserved.
Microservices - Motivation
Agility &
Continuous
Delivery
?v 0.0
Straight Line Code
v 1.0
OO or Similar Abstraction
v 2.0
Library/Module
v 3.0
Service Abstraction
Agility
9. 9© 2014 Pivotal Software, Inc. All rights reserved.
Microservices - Motivation
Agility?
Technology
Choice
Independence
Domain
Complexity
Different SLAsRobustness
Continuous
Delivery
Technical Debt &
Software Entropy
Cost Scalability
Service Abstraction
10. 10© 2014 Pivotal Software, Inc. All rights reserved.
Microservices - Defining
“A particular way of designing software applications as suites of
independently deployable services”
- Martin Fowler
11. 11© 2014 Pivotal Software, Inc. All rights reserved.
Microservices – Key Characteristics
Decoupled
Independent
Development
“Micro”
Independent
Operations
Conway’s
Law
Well Defined
Interfaces
12. 12© 2014 Pivotal Software, Inc. All rights reserved.
Microservices - Example
Your Profile
Your
Matches
Inbox Subscription
test@url.com
Account Management
Service
Login Service
Search Service
Profile Service
Recommendation
Service Messaging Service
Billing Service
13. 13© 2014 Pivotal Software, Inc. All rights reserved.
Microservices – Benefits
Technology
Choice
Scalability
Reuse
Resilience
Phased
Obsolescence
Low Risk
Organizational
Agility
Incremental
Innovation
14. 14© 2014 Pivotal Software, Inc. All rights reserved.
Designing Microservices
An iterative exercise in defining boundaries and interfaces
Use Natural
Bounded
Contexts
Separate Data
Model from
Interface
Incremental
Iteration
Technology
Agnostic
Synchronous
vs.
Asynchronous
Strongly
Cohesive,
Loosely
Coupled
15. 15© 2014 Pivotal Software, Inc. All rights reserved.
Adopting Microservices in a Continuous
Delivery World
12,000 Calories per Day
+
Olympic Workout
12,000 Calories per Day
+
16. 16© 2014 Pivotal Software, Inc. All rights reserved.
Blue-Green
Deployments
Microservices – Other Considerations
Availability
Adaptive Scaling
Security
Updates
Logging
Performance Continuous Integration
17. 17© 2014 Pivotal Software, Inc. All rights reserved.
Microservices
Agility Enabled, Not Delivered
Microservices
Operational Excellence
(DevOps)
18. 18© 2014 Pivotal Software, Inc. All rights reserved.
Holistic Agility
Day 0 Day 1 Day 2
Development CI/CD Operations
Specify Code DeployBuild
Test/
Verify
Package
Repository
Production
Concerns
19. 19© 2014 Pivotal Software, Inc. All rights reserved.
Microservices - Complexity
Runtime Complexity
Design Complexity
Microservices
Adoption…
…good, but not enough.
Runtime
Complexity
20. 20© 2014 Pivotal Software, Inc. All rights reserved.
Microservices
Agility Enabled, Not Delivered
MIcroservices
Operational Excellence
DevOps
Automation & Integration
Architecture
Process
Platform
21. 21© 2014 Pivotal Software, Inc. All rights reserved.
What constitutes a platform?
Point A Point B
Parts Assembled & Integrated Parts
Build Buy
Which “Platfom” do you want?
23. 23© 2014 Pivotal Software, Inc. All rights reserved.
Do You Want
to
Build a Platform
OR
Build Your Business
24. 24© 2014 Pivotal Software, Inc. All rights reserved.
Learn More
Spring
Cloud/Boot