How microservices are redefining modern application architecture
-
Upload
donnie-berkholz -
Category
Software
-
view
1.679 -
download
0
Transcript of How microservices are redefining modern application architecture
![Page 1: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/1.jpg)
How microservices are redefining modern application architecture Donnie Berkholz, Ph.D.Research Director — Development, DevOps, & IT Ops
Treasure Data, Jan 2016
![Page 2: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/2.jpg)
2
Source: 451 Research custom surveys
Minimizing risk, maximizing agility
![Page 3: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/3.jpg)
The new stack?
3
An infinite array of possible stacks.
![Page 4: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/4.jpg)
The need for speed
4
Source: 451 DevOps study, Q3 2014; n=237
63% want more
![Page 5: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/5.jpg)
5
DevOps: Agile, truly tip to tail
Business to customer
![Page 6: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/6.jpg)
3 pillars of DevOps
6
Culture
Automation
Measurement
![Page 7: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/7.jpg)
7
Flickr: respres Flickr: hartvig, snapeverything, roymaloon
Pets vs Cattle
![Page 8: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/8.jpg)
Enter containers: The future of virtualization
![Page 9: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/9.jpg)
9
Aren’t they just like VMs? No.
Source: 451 Research, “Now Shipping: The Docker and containers ecosystem rapidly takes shape”
![Page 10: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/10.jpg)
Automation, agility, empathy
10
![Page 11: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/11.jpg)
Container-native OSs
11 Snappy Ubuntu
![Page 12: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/12.jpg)
Developers love Docker
12
![Page 13: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/13.jpg)
Docker is not just a toy
13
Prod in Q3 2015:
22.5% } Source: 451 VotE Cloud, 2015; Q1 n=991; Q3 n=960
31.5%
10.2%
8.4%
9.4%
4.7%
35.8%
56.1%
10.7%
3.9%
4.2%
2.1%
22.9%
Discovery and Evaluation
Running Trials/Pilot Projects
In Test and Development Environment
Initial Implementation of Production Applications
Broad Implementation of Production Applications
No Plans
Q3 2015 Q1 2015
of cloud-using orgs
![Page 14: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/14.jpg)
Fragmentation drives microservices —enabled by containers
14
![Page 15: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/15.jpg)
15
Loosely coupled services
![Page 16: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/16.jpg)
Loosely coupled teams
“ One of the biggest changes is that we no longer have an official ‘architecture’ team. Instead, we have made ‘architecture’ an ‘ingredient’ on each of our teams.”
16 http://tech.gilt.com/post/102628539834/making-architecture-work-in-microservice
– Lauri Apple, Gilt Groupe, 14 Nov 2014
![Page 17: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/17.jpg)
The foundation of microservices
17
![Page 18: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/18.jpg)
Four real-world examples
18
![Page 19: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/19.jpg)
The exemplar
19
![Page 20: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/20.jpg)
The exemplar
20
![Page 21: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/21.jpg)
Real-world example #2
21 http://www.slideshare.net/nathariel/scaling-microservices-architecture-on-aws
![Page 22: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/22.jpg)
Hailo architecture
22
![Page 23: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/23.jpg)
Hailo architecture
23
![Page 24: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/24.jpg)
Hailo architecture
24
![Page 25: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/25.jpg)
Complexity is the new normal
25
![Page 26: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/26.jpg)
Real-world example #3: REA (realestate.com.au)
26
http://techblog.realestate.com.au/a-microservices-implementation-retrospective/
![Page 27: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/27.jpg)
REA microservices timeline
27
0
20
40
60
0 6 12 18 24
Mic
rose
rvic
es
Months
http://yowconference.com.au/slides/yow2014/SkurrieBottcherEvans-MonolithsToMicroservices.pdf
“ Microservices is a long term strategy.” – Evan Bottcher,
ThoughtWorks/REA, 9 Dec 2014
![Page 28: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/28.jpg)
Real-world example #4: Ctrip (Chinese travel site)
28
http://www.slideshare.net/yang75108/micro-service-architecture-c-trip-v11
![Page 29: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/29.jpg)
Real-world example #4: Ctrip (Chinese travel site)
29
http://www.slideshare.net/yang75108/micro-service-architecture-c-trip-v11
![Page 30: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/30.jpg)
Coping with complexity remains a challenge
• Cascading failures • Circuit breaker • Feedback loops
• Monitoring changes • Cattle v pets • Queue depth, dependencies • Self-healing infrastructure
• Don’t NIH the platform
30
![Page 31: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/31.jpg)
How? DevOps What? Microservices Why? Survival
31
![Page 33: How microservices are redefining modern application architecture](https://reader031.fdocuments.net/reader031/viewer/2022022203/5871d1511a28ab423c8b5b95/html5/thumbnails/33.jpg)
Some content from this presentation is Creative-Commons licensed. https://creativecommons.org/licenses/by-sa/https://creativecommons.org/licenses/by/
33