ithome cloud summit: the next generation of data center: machine intelligent cluster

40
Machine Intelligent Cluster: The next generation of data center Evan Lin @Linker Networks

Upload: evan-lin

Post on 22-Jan-2018

2.095 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

MachineIntelligentCluster:Thenextgenerationofdatacenter

EvanLin@LinkerNetworks

Page 2: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

About meCloud Architect @ Linker Networks

Golang User Group - Co-Organizer

Top 5 Taiwan Golang open source contributor (githubaward)

Developer, Curator, Blogger

Page 3: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Recap Cloud Summit 2016

Page 4: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Agenda• Problems on data center• How machine learning helps• Machine Intelligent Cluster• Applications• Q&A

Page 5: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Data center

Page 6: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

• Power consumption• Low usage• Unpredictable peak• Noisy neighbors

Efficiency

• Physical damage• Networking problem• Anomaly• Attack

Risk

Real data center

Page 7: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Power consumption

Page 8: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Low usage and Unpredictable peak

Page 9: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Noisy neighbor

Page 10: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Use machine learning improve DC power consumption

Page 11: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

None of your business?

Page 12: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Modern Data center: Machine Cluster

Page 13: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Before machine clusterDB Master:IP: 192.168.1.222

DB Slave:IP: 192.168.1.223

Web Server 1:IP: 192.168.1.101

Web Server 2:IP: 192.168.1.102

Web Server 3:IP: 192.168.1.103

Load Balancer:IP: 1.2.3.4

Page 14: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Container orchestration

Resource arrangement

Scalability

Portability

Automation migration

Page 15: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Resource management

3 Web App Servers2 DB Servers

1 Load Balancer

Page 16: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Scalability

Page 17: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Automation migration

Page 18: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Automation migration

Page 19: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Automation migration

Page 20: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Automation migration

Page 21: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

But .. we need better ..

Page 22: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

No prediction

Page 23: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

How to define scale out threshold?

50 %?

75 %?

25 %?

Page 24: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

MachineIntelligentCluster

Page 25: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Efficiency

Maximize Utilization

Operation Optimization

Accident

RiskMitigation

ServiceabilityManagement

Machine Intelligence

Cluster

How MIC helps

Page 26: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Operation Optimization1. Reinforcement learning 2. Adjust thermostat3. Check the reward (CPU performance).

[1]: Refer from https://goo.gl/ly3zyX

Page 27: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Maximize UtilizationAnalyze utilization and reduce working machines to save our customer budget

- Predict utilization trend- Provide auto-scaling threshold

adjustment

Page 28: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Prediction and dynamic threshold

Page 29: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

OptimizedScheduler

Node 1 Node 2Node 3

Node 1 Node 2 Node 3

Nginx(CPU 30%)

DB- MySQL(IO 25%)

DB- Mongo(IO 30%)

Apache(CPU 30%)

Backend Process(CPU 35%)

DB- Oracle(IO 35%)

NodeJS(CPU 7%)

Go backend(CPU 8%) Nginx

(CPU 30%)

DB- MySQL(IO 25%)

NodeJS(CPU 7%)

Go backend(CPU 8%)

Apache(CPU 30%)

Backend Process(CPU 35%)

DB- Mongo(IO 30%)

DB- Oracle(IO 35%)

Maximize Utilization

P.S. Not rearrange processes, we change the scheduler to avoid it happen..

Page 30: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Model 1

Serial Number Prediction

S.M.A.R.T. RNN Prediction

Serviceability Management (cont.)

Model 2

Page 31: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Dummy VM Detection Outlier Attack Detection

Mitigate risk

Page 32: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Storage SDN

Zombie Tagging system

Page 33: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Architecture

Page 34: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Cloud Native Architecture

Page 35: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

HPC (with GPU) Server

Storage SDN

Storage SDN

Data Collect Probe & Sensor & Smart GW

Visualization

Data Process

Data Analysis &Machine Learning

DCOS/ Kubernetes Spark ML Tensorflow

DCOS / Kubernetes

Cassandra (Storage)

Kafka (Queueing)

Go/Akka (Connector)

Spark (ETL/Streaming)

D3.js

Scikit Learn R

Interactive Dashboard

Jupyter Notebook

Zeppelin

ML Job Scheduler Chronos

MIC System Architecture

Page 36: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Data Agent KafkaSpark

Streaming

Cassandra

Spark ML(Classification,

Clustering)

TensorFlow(Deep

Learning)

Backend ServerAPI

Portal

TensorFlow Predict

SparkML Predict

MIC Data Flow

Page 37: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Applications on MIC

Machine Intelligent Cluster

IOT Gaming 5G NFV E-Commerce

Page 38: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

Machine Intelligent Cluster Summary

• Machine cluster with Intelligent• Features• Self-Optimization• Self-Learning• Self-Recovery• Green, Secure and Predictive machine cluster

Page 39: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

歡迎訂閱碼天狗

http://weekly.codetengu.com/

Page 40: iThome Cloud Summit: The next generation of data center: Machine Intelligent Cluster

ThankYou