Microservices Live

of 23 /23
Microservices Live Glynn Bird Developer Advocate @ IBM Cloud Data Services [email protected] @glynn_bird www.glynnbird.com

Transcript of Microservices Live

Page 1: Microservices Live

Microservices LiveGlynn BirdDeveloper Advocate @ IBM Cloud Data [email protected]@glynn_bird www.glynnbird.com

Page 2: Microservices Live

The monolith

Page 3: Microservices Live
Page 4: Microservices Live
Page 5: Microservices Live

Unix philosophy

"Write programs that do one thing and do it well. Write programs to work together. "Doug McIllroy

Page 6: Microservices Live

Command-line tools

• Simple tools that do one job• Can be piped together to create streams of work• Share common data format

Page 7: Microservices Live

Command-line tools

cat test.txt | grep "cake" | sort –u | wc -l

Page 8: Microservices Live

Microservices approach

• Small dedicated services that do one job• Can be composed• Share common data format

Page 9: Microservices Live

The word “Microservices”

• Docker containers• RESTtful APIs• Service Oriented Architecture

Page 10: Microservices Live

My definition of Microservices• Small apps that do one job• Fed by queue or API

Page 11: Microservices Live

Traditional app

Metrics Collector v1 Database

Page 12: Microservices Live

Microservices app

Metrics Collector

MicroService

Storage

queue/pubsub

AnalyticsRT

Dashboard

Page 13: Microservices Live

Queue

Page 14: Microservices Live

PubSub

Page 15: Microservices Live

Queue/Hub/MessageBroker technologies

Redis in-memory database with list and pubsub

features

RabbitMQ scalable message queue and pubsub hub

Apache Kafka hugely scalable message hub

Page 16: Microservices Live

Demo

Page 17: Microservices Live

Metrics Collector Microservice

Page 18: Microservices Live

Database-as-a-Service

• Spin up a database• Try it out• If it’s not for you, kill

it• P.A.Y.G

compose.io

Page 19: Microservices Live

Off-the-shelf Microservices

Page 20: Microservices Live

Off-the-shelf Microservices

Page 21: Microservices Live

Amazon Kinesis

Page 22: Microservices Live

OpenWhisk

Page 23: Microservices Live

Developer [email protected]

ThanksGlynn Bird

Blog: www.glynnbird.comTwitter: @glynn_bird