SlideShare a Scribd company logo
μServices
Microservices
Microservices
28 000 000 
page views per week 
*Google Analytics v.17 2014 
18 MINUTER 
time spend per visit* 
55% 45%
Microservices
Microservices
A monolithic design is characterised by such a tight coupling 
among modules that they have no independent existence.
challenges 
• If one things fails, everything fails 
• Can’t scale the database any further 
• Expensive hardware 
• Maintenance is scary 
• Platinum support contract costs
Goals 
• Scaling individual parts of the system 
• Lower hardware costs 
• No platinum support 
• Environment to quickly evaluate ideas
Microservices
Top inspirations 
• Larry Constantine - Structured Design (1960) 
• Douglas McIlroy - Programs (1965) 
• Ken Thompson - Unix (1973) 
• Antony Williams - COM (1987) 
• Udi Dahan - Autonomous Components (2004) 
• Greg young - CQRS (2008) 
• Fred George - Micro Services (2013)
“Write simple parts connected by clean 
interfaces.” 
! 
“Design programs to be connected to other 
programs. “ 
–Ken Thompson, Unix Philosophy
“Make each program do one thing well. To do a 
new job, build afresh rather than complicate old 
programs by adding new features.” 
! 
“Expect the output of every program to become 
the input to another, as yet unknown, program.” 
–Mc Mcllroy, Unix Time-Sharing System Forward”. 1978
“A model can either be optimised for reading or 
for writing” 
–Greg Young
“Depend on others and fail together” 
–Rob Pike
simple: easily understood or done
autonomous: acting independently
coupling is the degree to which each module relies on each one 
of the other modules.
“μServices should be made as small as 
possible, but not smaller”
Event Storming is a workshop format for quickly exploring 
complex business domains.
Microservices
where does online status come from?
Microservices
“No μService should ever depend on another 
being available”
“every view should be served by a single to one 
μService”
GET /profile 
{!!name: bob ross,! 
! text: …! 
! portrait: {! 
! ! url: /m/f.jpg,! 
! ! isLiked: true,! 
! }! 
! isOnline: true! 
! publicPhotos: … 
! privatePhotos: [{! 
! ! url: /m/f.jpg! 
! ! hasAccess: true! 
! }]! 
}
Microservices
where does t he member live?
Microservices
“No μService represents an business entity, but 
rather serves an expect of one”
μServices architecture 
subscribe to events 
service 
publish events 
GET /profile 
accept http requests 
event bus 
storage 
reads and write to own storage
“An μService is the smallest consistency 
boundary”
“μServices depends more on how the service fit into the 
environment than on how they are designed internally.”
Microservices
“Polyglot developers still hate context 
switching”
“Clarity is better than cleverness”
Microservices
Microservices
Microservices
“An μService is the smallest part of the system 
that can scale independently”
Microservices
Microservices
Microservices
Microservices
Microservices
Microservices
Microservices
Microservices
Microservices
Microservices
Microservices
Microservices
Shipping
Microservices
“An μService doesn’t provide any value on its 
own”
“a μService is to μ to treat as a single product”
Microservices
Microservices
7000 
5250 
3500 
1750 
0 
v13.like.count v14.like.count 
13:00 13:15 13:30 13:45
ETCD 
• Simple, curl-able API (HTTP + 
JSON) 
• Benchmarked 1000s of writes/ 
s per instance 
• Properly distributed using Raft 
protocol 
• Atomic test and set 
• Easily listen for changes to a 
prefix via HTTP long-polling
Summary
You've been a great audience! 
already knew that when creating this slide

More Related Content

PDF
Microservices in the real world
PDF
Sustaining Your Career
PDF
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
PPTX
Azure and DevOps: ARM & ARM
PPTX
Common Sense Driven Development
PPTX
Json and REST in the BizTalk World
PDF
Microservices with Spring Cloud
PPTX
AngularJS vs Backbone.js Smackdown
Microservices in the real world
Sustaining Your Career
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
Azure and DevOps: ARM & ARM
Common Sense Driven Development
Json and REST in the BizTalk World
Microservices with Spring Cloud
AngularJS vs Backbone.js Smackdown

What's hot (14)

PDF
Concocting an MVC, Data Services and Entity Framework solution for Azure
PDF
Microservices with JBoss EAP & OpenShift
PDF
Tools for OnlineCommunities.pptx
PPTX
Dynamic web
PDF
Lightning talk dexterity behaviors and mosaic
PPTX
iOS Architectures
PDF
2018 03-08 moving from legacy to event driven with kafka - confoo
PPTX
Conway's Law in Practice: Agile Teams & Microservices by Bogoi Bogdanov)
PDF
Promoter – A Python Project for Replicating a JSS via the API
PDF
TXJS 2013 in 10 minutes
PDF
Nextcloud als On-Premises Lösung für hochsicheren Datenaustausch (Frank Karli...
PPTX
Intern PPT Template FINAL
PDF
Migration from 5 to Connections 6 - been there, done that
PPTX
How to avoid microservice pitfalls
Concocting an MVC, Data Services and Entity Framework solution for Azure
Microservices with JBoss EAP & OpenShift
Tools for OnlineCommunities.pptx
Dynamic web
Lightning talk dexterity behaviors and mosaic
iOS Architectures
2018 03-08 moving from legacy to event driven with kafka - confoo
Conway's Law in Practice: Agile Teams & Microservices by Bogoi Bogdanov)
Promoter – A Python Project for Replicating a JSS via the API
TXJS 2013 in 10 minutes
Nextcloud als On-Premises Lösung für hochsicheren Datenaustausch (Frank Karli...
Intern PPT Template FINAL
Migration from 5 to Connections 6 - been there, done that
How to avoid microservice pitfalls
Ad

Similar to Microservices (20)

PDF
PDF
Microservices - stress-free and without increased heart-attack risk - Uwe Fri...
PPTX
Citizen Developer Tools are not just for Citizen Developers (session at Share...
PDF
Using patterns and pattern languages to make better architectural decisions
PPTX
Are Microservices our future?
PDF
Software engineering the genesis
PDF
Microservices - when, why and how incontrodevops.it
PDF
Microservices - stress-free and without increased heart attack risk
PDF
Citizen Developer Tools - session at SPS New England 10/20/2018
PDF
Cloud Native Future
PDF
"To The Cloud!"
PDF
Things will Change - Usenix Keynote UCMS'14
PDF
Monoliths, Myths, and Microservices - CfgMgmtCamp
PDF
Timeless design in a cloud-native world
PPTX
Exploring microservices in a Microsoft landscape
PPTX
CQRS: Command/Query Responsibility Segregation
PDF
From Monoliths to Services: Paying Your Technical Debt
PDF
Deconstructing Monoliths with Domain Driven Design
PPTX
Let's talk about... Microservices
PPTX
Using the Crowd to Understand and Adapt User Interfaces
Microservices - stress-free and without increased heart-attack risk - Uwe Fri...
Citizen Developer Tools are not just for Citizen Developers (session at Share...
Using patterns and pattern languages to make better architectural decisions
Are Microservices our future?
Software engineering the genesis
Microservices - when, why and how incontrodevops.it
Microservices - stress-free and without increased heart attack risk
Citizen Developer Tools - session at SPS New England 10/20/2018
Cloud Native Future
"To The Cloud!"
Things will Change - Usenix Keynote UCMS'14
Monoliths, Myths, and Microservices - CfgMgmtCamp
Timeless design in a cloud-native world
Exploring microservices in a Microsoft landscape
CQRS: Command/Query Responsibility Segregation
From Monoliths to Services: Paying Your Technical Debt
Deconstructing Monoliths with Domain Driven Design
Let's talk about... Microservices
Using the Crowd to Understand and Adapt User Interfaces
Ad

More from Pieter Joost van de Sande (12)

PPTX
PDF
Werckers path to Go
PPTX
Lessons for developers - long edition
PPTX
Introduction to CQRS
PPTX
Introduction to (n)CQRS
PPTX
Lessons for developers
PDF
Rethink your architecture with CQRS
PDF
Domain Driven Design fundamentals
PPT
Introduction to Spec#
PPT
C#, What Is Next?
PPT
XNA presentation
PPT
Domain Driven Design In C#3.0
Werckers path to Go
Lessons for developers - long edition
Introduction to CQRS
Introduction to (n)CQRS
Lessons for developers
Rethink your architecture with CQRS
Domain Driven Design fundamentals
Introduction to Spec#
C#, What Is Next?
XNA presentation
Domain Driven Design In C#3.0

Recently uploaded (20)

PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
Website Design Services for Small Businesses.pdf
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PPTX
Introduction to Windows Operating System
PPTX
Cybersecurity: Protecting the Digital World
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
Complete Guide to Website Development in Malaysia for SMEs
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PPTX
assetexplorer- product-overview - presentation
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Cost to Outsource Software Development in 2025
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
MCP Security Tutorial - Beginner to Advanced
Autodesk AutoCAD Crack Free Download 2025
Salesforce Agentforce AI Implementation.pdf
Website Design Services for Small Businesses.pdf
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
Introduction to Windows Operating System
Cybersecurity: Protecting the Digital World
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
GSA Content Generator Crack (2025 Latest)
Complete Guide to Website Development in Malaysia for SMEs
How Tridens DevSecOps Ensures Compliance, Security, and Agility
assetexplorer- product-overview - presentation
Computer Software and OS of computer science of grade 11.pptx
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Cost to Outsource Software Development in 2025
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
wealthsignaloriginal-com-DS-text-... (1).pdf
Oracle Fusion HCM Cloud Demo for Beginners
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf

Microservices