How microservices are redefining modern application architecture

33
How microservices are redefining modern application architecture Donnie Berkholz, Ph.D. Research Director — Development, DevOps, & IT Ops Treasure Data, Jan 2016

Transcript of How microservices are redefining modern application architecture

Page 1: How microservices are redefining modern application architecture

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

2

Source: 451 Research custom surveys

Minimizing risk, maximizing agility

Page 3: How microservices are redefining modern application architecture

The new stack?

3

An infinite array of possible stacks.

Page 4: How microservices are redefining modern application architecture

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

5

DevOps: Agile, truly tip to tail

Business to customer

Page 6: How microservices are redefining modern application architecture

3 pillars of DevOps

6

Culture

Automation

Measurement

Page 7: How microservices are redefining modern application architecture

7

Flickr: respres Flickr: hartvig, snapeverything, roymaloon

Pets vs Cattle

Page 8: How microservices are redefining modern application architecture

Enter containers: The future of virtualization

Page 9: How microservices are redefining modern application architecture

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

Automation, agility, empathy

10

Page 11: How microservices are redefining modern application architecture

Container-native OSs

11 Snappy Ubuntu

Page 12: How microservices are redefining modern application architecture

Developers love Docker

12

Page 13: How microservices are redefining modern application architecture

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

Fragmentation drives microservices —enabled by containers

14

Page 15: How microservices are redefining modern application architecture

15

Loosely coupled services

Page 16: How microservices are redefining modern application architecture

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

The foundation of microservices

17

Page 18: How microservices are redefining modern application architecture

Four real-world examples

18

Page 19: How microservices are redefining modern application architecture

The exemplar

19

Page 20: How microservices are redefining modern application architecture

The exemplar

20

Page 21: How microservices are redefining modern application architecture

Real-world example #2

21 http://www.slideshare.net/nathariel/scaling-microservices-architecture-on-aws

Page 22: How microservices are redefining modern application architecture

Hailo architecture

22

Page 23: How microservices are redefining modern application architecture

Hailo architecture

23

Page 24: How microservices are redefining modern application architecture

Hailo architecture

24

Page 25: How microservices are redefining modern application architecture

Complexity is the new normal

25

Page 26: How microservices are redefining modern application architecture

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

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

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

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

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

How? DevOps What? Microservices Why? Survival

31

Page 32: How microservices are redefining modern application architecture

32

Thank you!Donnie BerkholzTwitter: @[email protected]

Page 33: How microservices are redefining modern application architecture

Some content from this presentation is Creative-Commons licensed. https://creativecommons.org/licenses/by-sa/https://creativecommons.org/licenses/by/

33