How microservices are redefining modern application architecture

Post on 08-Jan-2017

1.679 views 0 download

Transcript of 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

2

Source: 451 Research custom surveys

Minimizing risk, maximizing agility

The new stack?

3

An infinite array of possible stacks.

The need for speed

4

Source: 451 DevOps study, Q3 2014; n=237

63% want more

5

DevOps: Agile, truly tip to tail

Business to customer

3 pillars of DevOps

6

Culture

Automation

Measurement

7

Flickr: respres Flickr: hartvig, snapeverything, roymaloon

Pets vs Cattle

Enter containers: The future of virtualization

9

Aren’t they just like VMs? No.

Source: 451 Research, “Now Shipping: The Docker and containers ecosystem rapidly takes shape”

Automation, agility, empathy

10

Container-native OSs

11 Snappy Ubuntu

Developers love Docker

12

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

Fragmentation drives microservices —enabled by containers

14

15

Loosely coupled services

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

The foundation of microservices

17

Four real-world examples

18

The exemplar

19

The exemplar

20

Real-world example #2

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

Hailo architecture

22

Hailo architecture

23

Hailo architecture

24

Complexity is the new normal

25

Real-world example #3: REA (realestate.com.au)

26

http://techblog.realestate.com.au/a-microservices-implementation-retrospective/

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

Real-world example #4: Ctrip (Chinese travel site)

28

http://www.slideshare.net/yang75108/micro-service-architecture-c-trip-v11

Real-world example #4: Ctrip (Chinese travel site)

29

http://www.slideshare.net/yang75108/micro-service-architecture-c-trip-v11

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

How? DevOps What? Microservices Why? Survival

31

32

Thank you!Donnie BerkholzTwitter: @dberkholzdonnie.berkholz@451research.com

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

33