microservices live

Post on 15-Apr-2017

271 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Microservices LiveGlynn BirdDeveloper Advocate @ IBM Cloud Data Servicesglynn.bird@uk.ibm.com@glynn_bird www.glynnbird.com

The monolith

Unix philosophy

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

Command-line tools

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

Command-line tools

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

Microservices approach

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

The word “Microservices”

• Docker containers• RESTtful APIs• Service Oriented Architecture

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

Traditional app

Metrics Collector v1 Database

Microservices app

Metrics Collector

MicroService

Storage

queue/pubsub

AnalyticsRT

Dashboard

Queue

PubSub

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

Demo

Metrics Collector Microservice

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

Off-the-shelf Microservices

Off-the-shelf Microservices

Amazon Kinesis

OpenWhisk

Developer AdvocateGlynn.bird@uk.ibm.com

ThanksGlynn Bird

Blog: www.glynnbird.comTwitter: @glynn_bird

top related