Microservices Live
-
Upload
data-driven-innovation -
Category
Technology
-
view
270 -
download
0
Transcript of Microservices Live
Microservices LiveGlynn BirdDeveloper Advocate @ IBM Cloud Data [email protected]@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