Micro service, Containers & Cluster Management

Post on 09-Jan-2017

417 views 1 download

Transcript of Micro service, Containers & Cluster Management

μService +

Containerization &

Cluster Management

Preparing for the neXt shift…?

μService Architecture

ContainerizedService

Service ClusterManagement

Availability+

Stability+

Reliability

Need

Easy to build

Cheap to replace

Quick to scale

Ability to withstand failure

Speed will never be considered as a

“challenge to be addressed”.

It will be considered as a

“competitive advantage to be owned”.

Monolithic vs MicroServices

Productivity Vs Complexity

http://martinfowler.com/articles/microservices.html

API

API

API

API

API

API

API

API

API API

APIAPI

API

API

AP

I

AP

I

API

API

API

API

API

API

API

API

API API

APIAPI

API

API

AP

I

AP

I

Tight cohesion

&

Loose Coupling.

State of the Art in Microservices - Adrian Cockroft

Service Monitoring

MicroServices Architecture

Service DiscoveryService

Configuration

Data Store

Service Routing

Operational : Container Orchestration & Cluster Mgmt

Service Implementation : Languages / Frameworks + Container

Nuts and Bolts in the μService world

Service Routing

Config Mgmt Service Discovery Circuit Breaker

μProxy

Distributed Session

Control Bus

Global Lock

Leadership Election

Cluster StateToken Mgmt

Want to know more….

goto www.slideshare.net Search for “Cloud Native design” & “Microservices Architecture”

Read/watch every presentation from Adrian Cockroft

μService +

Containerization &

Cluster Management

Virtual Machines - Today

Hypervisor

OS

App Server (WAS/Tomcat)

Application

Hypervisor

OS

App Server

Application

OS

Application

App Server App Server

Application Application

App Server

Application

App Server (WAS/Tomcat)

Application Stack

● Install & configure OS

● Install & configure App Server

● Deploy & configure Application

What does it mean ?

From non-existence of an environment

to application up & running

< 1 Min

One more thing...

(De Facto?)Standard to build, ship, deploy and run distributed applications

The Linux Container

How it works

Containerizing the application

● Install & configure OS

● Install & configure App Server

● Deploy & configure ApplicationKernel (Image)

App Server (Image)

App (Image)

Lifecycle

build Push

STA

GE

PR

OD

TST

DEV

Image Docker Repository

μService +

Containerization &

Cluster Management

Data Center

Data Center Server Utilization

“The sorry state of server utilization …….”

Elastic Data Center

“People are deterministic thinkers in a probabilistic world”

“Best way to predict the future is to invent it.”- Allan Kay

“As to methods there may be a million ….., but principles are few. The man who grasps principles can successfully select his own methods. The man who tries methods, ignoring

principles, is sure to have trouble.”-Ralph Waldo Emerson

Want to know more….

Omega: flexible, scalable schedulers for large compute clusters - Google Paper

Return of the Borg: How Twitter Rebuilt Google’s Secret Weapon - Wired Magazine Article

Multi-agent Cluster Scheduling for Scalability and Flexibility - UC Berkeley Theses

“I was talking when I should have been listening”

- Grant Hart