how to build modern web applications using microservices

15
HOW TO BUILD MODERN WEB APPLICATIONS USING MICROSERVICES Presented by: Joe Brinkman Co-Founder and VP Technology, DNN

Upload: dnn

Post on 15-Apr-2017

354 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: How to Build Modern Web Applications Using Microservices

HOW TO BUILD

MODERN WEB

APPLICATIONS USING

MICROSERVICES

Presented by: Joe BrinkmanCo-Founder and VP Technology, DNN

Page 2: How to Build Modern Web Applications Using Microservices

Traditional Web Apps

< > www.mysite.com

< > www.mysite.com

< > www.mysite.com

< > www.mysite.com

< > www.mysite.com

< > www.mysite.com< > www.mysite.com

Authentication

Logging

Forms

Membership/Profile

ContentWorkflow

Forums/Discussion Groups

Sliders

Authentication

Logging

Forms

ContentWorkflow

Forums/Discussion Groups

Sliders

Membership/Profile

Page 3: How to Build Modern Web Applications Using Microservices

Traditional Web Apps

< > www.mysite.com

Monolith Challenges• Tight Coupling• Scaling• Deployment• Single Language

Page 4: How to Build Modern Web Applications Using Microservices

Why Microservices?

“We can scale our operation independently, maintain unparalleled

system availability, and introduce new services quickly without the

need for massive reconfiguration.”

Werner Vogels, CTO, Amazon

Page 5: How to Build Modern Web Applications Using Microservices

Why Microservices

Spee

d • Development

• Deployment

• Corrective Action

Safe

ty • Operations

• Data

Scal

e • Scope

• Volume

• Interactions

Building solutions with speed and safety at scale.

Page 6: How to Build Modern Web Applications Using Microservices

Microservice Web Apps

< > www.mysite.com

Authentication Membership

Logging

Forms

Content

Discussions

Authentication

ContentContent

DiscussionsDiscussionsDiscussions

Authentication Membership

Logging

Forms

Content

Discussions

V1.1V1.1

Microservices

Node.JS

C#

Page 7: How to Build Modern Web Applications Using Microservices

Key Principles

Small

in size

Page 8: How to Build Modern Web Applications Using Microservices

Key Principles

Messaging Enabled

Page 9: How to Build Modern Web Applications Using Microservices

Key Principles

Messaging Enabled

Bounded scope

Page 10: How to Build Modern Web Applications Using Microservices

Key Principles

Autonomous

development

Page 11: How to Build Modern Web Applications Using Microservices

Key Principles

Independently

deployed

Page 12: How to Build Modern Web Applications Using Microservices

Key Principles

Decentralized

Page 13: How to Build Modern Web Applications Using Microservices

Key Principles

Automated build &

deployment

Page 14: How to Build Modern Web Applications Using Microservices

Best Practices

•Course-grained APIs

•Separate data-store per service

•Deploy in containers (or container like)

•Services should be stateless (cattle not pets)

•Build for failure

Page 15: How to Build Modern Web Applications Using Microservices

For More Information

Joe BrinkmanCo-Founder and VP Technology, DNN

@jbrinkman

http://www.dnnsoftware.com