How to Build Modern Web Applications Using Microservices

Post on 15-Apr-2017

354 views 0 download

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

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

Traditional Web Apps

< > www.mysite.com

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

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

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.

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#

Key Principles

Small

in size

Key Principles

Messaging Enabled

Key Principles

Messaging Enabled

Bounded scope

Key Principles

Autonomous

development

Key Principles

Independently

deployed

Key Principles

Decentralized

Key Principles

Automated build &

deployment

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

For More Information

Joe BrinkmanCo-Founder and VP Technology, DNN

@jbrinkman

http://www.dnnsoftware.com