The Rise of Microservices

19
The Rise of Microservices Jim Blackhurst Senior Solutions Architect

Transcript of The Rise of Microservices

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

Monolithic

Cross-Team

Tight Coupling

Small Change

Huge Impact

System Retests

Page 9: The Rise of Microservices

2000s

SOA

Coordination

Looser Coupling

System Retests

Page 10: The Rise of Microservices

2010s

Microservices

Decoupled

Independent Dev

Isolated Impact

Page 11: The Rise of Microservices

Why Use Microservices?

Team = ComponentsNo committees

EmpowerBuild MVP quickly

SpeedSimple components

Isolated 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&

Automation

RedundancyFlexibleDataModel

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 Microservicesdepend on for security, resiliency and elasticity.

Page 19: The Rise of Microservices

References

• Enabling Microservices – Containers & Orchestration Explained

https://www.mongodb.com/collateral/microservices-containers-and-

orchestration-explained

• Microservices: The Evolution of Building Modern Applications

https://www.mongodb.com/collateral/microservices-the-evolution-of-

building-modern-applications