Transcript
Page 1: Microservice Architecture

Microservice Architecture

RICH

Page 2: Microservice Architecture

Monolith

http://odino.org/on-monoliths-service-oriented-architectures-and-microservices/

Page 3: Microservice Architecture
Page 4: Microservice Architecture

• Microservices - a definition of this new architectural term

James Lewis

Martin Fowler

Page 5: Microservice Architecture

Microservice• An approach to developing a single application as

a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies

Page 6: Microservice Architecture

Microservice• An approach to developing a single application as

a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies

Page 7: Microservice Architecture

Microservice• An approach to developing a single application as

a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies

Page 8: Microservice Architecture

Microservice• An approach to developing a single application as

a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies

Page 9: Microservice Architecture

Monolithic

http://www.coscale.com/blog/comparing-microservices-and-monolithic-applications-from-the-perspective-of-monitoring

Page 10: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 11: Microservice Architecture

Monoliths Microservices

Page 12: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 13: Microservice Architecture

Melvyn Conway

Any organization that designs a system (defined broadly) will produce a design

whose structure is a copy of the organization's communication structure.

Page 14: Microservice Architecture
Page 15: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 16: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 17: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 18: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 19: Microservice Architecture

Polyglot programming / persistence

Page 20: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 21: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 22: Microservice Architecture

Characteristic• Componentization via Services

• Organized around Business Capabilities

• Products not Projects

• Smart endpoints and dumb pipes

• Decentralized Governance

• Decentralized Data Management

• Infrastructure Automation

• Design for failure

• Evolutionary Design

Page 23: Microservice Architecture

Microservice Java Framework

Dropwizard

Page 24: Microservice Architecture

http://blog.takipi.com/java-bootstrap-dropwizard-vs-spring-boot/

Page 25: Microservice Architecture

Demo

Code: https://github.com/RICH0423/Spring-Boot/tree/master/SpringBoot-Jersey-Swagger-Docker

Page 26: Microservice Architecture

Referencehttp://www.martinfowler.com/articles/microservices.html

Page 27: Microservice Architecture

Thanks


Top Related