a people's history of microservices
TRANSCRIPT
![Page 1: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/1.jpg)
A People’s History of Microservices
Monitoring for the Small Fry
Camille Fournier, CTO, Rent the Runway@skamille
![Page 2: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/2.jpg)
@lonelocust
![Page 3: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/3.jpg)
How do we get out of here?
![Page 4: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/4.jpg)
How did we get here?
![Page 5: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/5.jpg)
A People’s History
Well, my muddled memories and impressions of living through the past 20 years of computing evolution
![Page 6: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/6.jpg)
In the beginning…
![Page 7: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/7.jpg)
![Page 8: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/8.jpg)
Leslie Lamport
“A distributed system is one in
which the failure of a computer you
didn’t know existed can render your own computer
unusable”
![Page 9: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/9.jpg)
![Page 10: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/10.jpg)
![Page 11: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/11.jpg)
![Page 12: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/12.jpg)
![Page 13: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/13.jpg)
![Page 14: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/14.jpg)
@cra
![Page 15: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/15.jpg)
@@adrianco
AAAHHHHHHHHH
![Page 16: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/16.jpg)
![Page 17: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/17.jpg)
To Sum Up:
![Page 18: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/18.jpg)
![Page 19: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/19.jpg)
Under conditions of…
![Page 20: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/20.jpg)
SCARCITY
“Should” and “Must” need not apply
![Page 21: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/21.jpg)
![Page 22: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/22.jpg)
This does not require
perfection to reach!
http://martinfowler.com/bliki/MicroservicePremium.html
![Page 23: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/23.jpg)
![Page 24: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/24.jpg)
What is monitoring anyway?
![Page 25: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/25.jpg)
Identify the cause of known problems quickly
![Page 26: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/26.jpg)
Understand the state of systems at all times
(to detect hidden or upcoming problems)
![Page 27: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/27.jpg)
Part 1: Identifying the cause of problems
quickly
And other incident management improvements…
![Page 28: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/28.jpg)
TESTING
![Page 29: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/29.jpg)
THE WISDOM OF INES SOMBRA @RANDOMMOOD
![Page 30: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/30.jpg)
Monitoring is not a substitute for
testing
Seriously, stop saying that. Now. Stop it.
![Page 31: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/31.jpg)
Clearly Articulate Dependencies
What downstream systems does this system rely on?
What does “healthy” look like for the system?
![Page 32: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/32.jpg)
![Page 33: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/33.jpg)
Enabling devs to hand off support of systems is actually good!
![Page 34: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/34.jpg)
What about tools tho?
![Page 35: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/35.jpg)
Pick a couple of tools, no more!
![Page 36: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/36.jpg)
Consistency, Clarity over Creativity
![Page 37: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/37.jpg)
Part 2: Detect and predict things that are wrong without alerts
And operating well enough when things are failed.
![Page 38: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/38.jpg)
![Page 39: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/39.jpg)
Your most useful data is an approximation of your
business
What is the CUSTOMER experiencing?
What is the CLIENT experiencing?
What are the rhythms of your business like?
![Page 40: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/40.jpg)
Your Team
Your Customers
![Page 41: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/41.jpg)
RESILIENCE
![Page 42: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/42.jpg)
![Page 43: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/43.jpg)
Any of your
services can die
![Page 44: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/44.jpg)
User
Checkout
Static Asset CDN Origin
Drupal
Our Runway
Home
Grid
Product Detail
static assets
sinatra views / erbs
< Sinatra::Base
RtR API clients
Heroku
Rackspace
Engine Yard
![Page 45: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/45.jpg)
In conclusion
![Page 46: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/46.jpg)
We’re all in this together
![Page 47: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/47.jpg)
“There is an underside to every age about which history does not often speak, because history is written from records left by the privileged”
Howard Zinn, A People's History of the United States
![Page 48: A People's History of Microservices](https://reader030.vdocument.in/reader030/viewer/2022032618/55b6e626bb61eb73688b4668/html5/thumbnails/48.jpg)
Thanks! Questions? @skamille