the rise of microservices

19
The Rise of Microservices Jim Blackhurst Senior Solutions Architect

Upload: joe-drumgoole

Post on 06-Apr-2017

59 views

Category:

Software


0 download

TRANSCRIPT

Page 1: The Rise of Microservices

The Rise of Microservices

Jim BlackhurstSenior Solutions Architect

Page 2: The Rise of Microservices

Anyone recognise her?

Page 3: The Rise of Microservices

Margret Hamilton, being awarded the Presidential Medal of freedom – November 2016

Page 4: The Rise of Microservices

Punch Cards and Paper

Margaret Hamilton, (Director of S.Eng) with the source code to the Apollo Guidance Computer

• Computer programming used to be done individually or in small teams.

• Programs could only be as big as one person could understand.

Page 5: The Rise of Microservices

The Software Crisis

• 1965 - 1985 is known as the time of the Software Crisis.

• Quality of Software was appalling. Bugs and Crashes everywhere.

• Creating reliable software was very hard

Page 6: The Rise of Microservices

Source Control

• Enabled Monolithic Architecture.

• Quality went through the roof!

• But software quickly grew beyond the ability for any one developer to understand it all.

Page 7: The Rise of Microservices

The Monolithic Folly

• Expensive to Build • Difficult to Maintain

• Risky to extend

• Software is only safe and reliable if it can be understood at the human scale.

Page 8: The Rise of Microservices

1990s & Earlier

MonolithicCross-TeamTight Coupling

Small Chan

ge

Huge Impac

t

System

Retests

Page 9: The Rise of Microservices

2000sSOA

CoordinationLooser

CouplingSystem Retests

Page 10: The Rise of Microservices

2010sMicroservice

sDecoupled

Independent DevIsolated

Impact

Page 11: The Rise of Microservices

Why Use Microservices?

Team = Components

No committees

EmpowerBuild MVP quickly

SpeedSimple

componentsIsolated impact

MaintainRapid iterationsReact to market

ChangeProductTeam

Scale

Page 12: The Rise of Microservices
Page 13: The Rise of Microservices

The Persistence Layer

• Data access patterns have changed

• No time for slow ETL processes

• Flexibility of deployment

Page 14: The Rise of Microservices

Why MongoDB is a Good Fit For Microservices

ScalabilityMonitoring&

AutomationRedundancyFlexible

DataModel

Simplicity

Page 15: The Rise of Microservices

Microservice Architectures Built on Containers

Containers prevent your Ops team from going postal.

• Well defined APIs• Independent languages &

libraries• Modular: easy maintenance

+ reuse• Fault tolerant• Scaling, upgrading

Page 16: The Rise of Microservices

Container Security

Opportunities

• Isolation• Constrain resources• Narrow roles• Keep images/containers

current

Page 17: The Rise of Microservices

Orchestration

Automated deployment, connecting, and maintenance of multiple containers

• Provision hosts• Containers

• Instantiate• Reschedule• Link• Scale Out/In

• Expose services

Page 18: The Rise of Microservices

In Conclusion• Monolithic application development is

no longer a relevant, reliable or safe architecture.

• Microservices lower risk, increase developer productivity, and provide a faster time to market.

• MongoDB powers the data layer that Microservices depend on for security, resiliency and elasticity.