SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Downloaden Sie, um offline zu lesen
How to get started with
Site Reliability Engineering
Women Who Code Toronto, April 2021
Statistics
Breakdown of Engineering roles by gender
https://juliasilge.com/blog/salary-gender/
Scatter graph of roles by gender
So how much of a gender imbalance is there for SRE roles?
https://insights.stackoverflow.com/survey/2020#developer-profile-gender
Scatter graph of roles by gender
Around 30x...
https://insights.stackoverflow.com/survey/2020#developer-profile-gender
Job titles, oh so many job titles...
● System Administrator
● Cloud Architect
● Infrastructure Engineer
● Site Reliability Engineer
● DevOps Engineer
● Platform Engineer
(least coding to most coding… sort of
not really it’s all made up)
So why is there such a gender imbalance?
Possibly because no-one can agree what “DevOps” is
“We interview a lot of engineers and hiring managers about
what they're looking for when they hire for pertinent roles.”
“We usually find a clear consensus on what the relevant
skills are.”
“When we did this for DevOps, we found no such
consensus.”
https://triplebyte.com/blog/no-one-agrees-on-what-devops-means-not-even-employers
Probably because no-one can agree what is is
“On one end of the spectrum, there are back-end developers
who focus on building infrastructure and automation tools.”
“On the other end of the spectrum, there are systems experts
who serve as the first line of defense against production
outages but rarely write code aside from the occasional shell
script”
https://triplebyte.com/blog/no-one-agrees-on-what-devops-means-not-even-employers
“DevOps is a philosophy
before it’s a job title”
Debunking myths
Common assumptions
● Linux expert
● Networking wizard
● Learn every AWS product
● Run everything in Docker
● CI/CD* all the things
● Automate everything
● ...
* Continuous Integration/Continuous Delivery (run my tests then deploy automatically… continuously)
Truth is, we have (almost) no idea what we are doing
What are you really expected to know?
● Is your application is running well?
● Advantages and limitations of your current processes
● Alternative ways of deploying, hosting and
architecting your current platform
● “Shared suffering makes a team a team” try to learn
from people who have battle scars
https://psmag.com/books-and-culture/painful-experiences-solidarity-bonding-power-shared-suffering-90352
The how isn’t important,
but the why
https://twitter.com/kelseyhightower/status/826528907381739520
https://www.protocol.com/enterprise/kelsey-hightower-google-cloud (if you don’t know who Kelsey Hightower is)
Technologies
● Don’t learn Kubernetes*, but containerisation
● Don’t just learn AWS, but cloud computing
● Nothing wrong with hacky scripts to get started
● Databases, queues and caches are your friends
and worst enemies...
* I mean, you will have to eventually, but no-one really knows how it works anyways
What could you learn?
What could you learn?
Many, many things. But mostly fall into these categories...
● Repeatability - Can I do it the same way over and over?
● Observability - Can I tell if it’s working well or not?
● Efficiency - Can I make this happen faster/cheaper?
● Composure - Can I fix this without panicking?
Repeatability
● Don’t you mean automation? Shouldn’t you
automate all the things?
● Repeatability is a bi-product of automation,
automation is the means not the end result
● Wise co-worker said to me once “if you have to do it
more than twice, write a script so you don’t mess it up
the third time”
Repeatability, deployment example
Repeatability, deployment example
1. Drag my files via a GUI onto the server
2. Run a command to copy files onto the server
3. Write a bash script to copy files onto the server
4. Modify the bash script to backup previous version
5. Write another bash script to rollback to previous version…
6. …
7. …
8. ...
Repeatability, deployment example
99. …
100. Finish building Kubernetes
https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/deployment/rollback.go
Repeatability, deployment
https://charity.wtf/about/
https://twitter.com/mipsytipsy/status/1270693381648203777
Observability
1. Is there anything weird in the logs?
2. How much CPU/etc. is my application using?
○ How much does the thing my application is running on have?
3. How fast is it responding?
○ How fast does it usually respond?
4. How many other applications/services* does my application
depend on?
○ Repeat 1-4 for each of those
* Remember that web servers, databases, caches and queues are just applications someone else wrote
Service Level Agreements
https://www.atlassian.com/incident-management/kpis/sla-vs-slo-vs-sli
Service Level Agreement (SLA) example
● SLA - My website must be available 99.9% of the time each
month (43 minutes) or my paying customers get a (partial)
refund
● Service Level Objective (SLO)
○ Back-end - API must not be down for more than 43 minutes each
month
○ Front-end - Front-end must not have a broken User Experience (UX)
for more than 43 minutes each month
https://en.wikipedia.org/wiki/High_availability
Service Level Agreement (SLA) example
How do you define “down” or “broken”?
● Service Level Indicator (SLI)
○ Back-end - API must respond to requests in less than 5 seconds,
99.9% of the time
○ Front-end - Time To Interactive* must be less than 10 seconds,
99.9% of the time
* https://web.dev/interactive/
Service Level Agreement (SLA) example
Any decent observability stack can capture this information
https://www.g2.com/categories/enterprise-monitoring
Efficiency
Code problem, or a process problem?
● I know where the website is slow, but I don’t know
why the website is slow…
● It takes ages to release my feature, who or what
keeps holding it up?
Know your stack
Learn where your stack has strengths and weaknesses
● What API calls, scheduled tasks or page renders take longer
than average?
● Using profiling tools, what specifically is slow?
● Can I solve with the language?
● Can I solve at the database/cache?
● Can I solve with re-architecting?
DevOps Research and Assessments (DORA) metrics
Deployment Frequency (DF), Mean Lead Time
for changes (MLT), Mean Time To Recover
(MTTR) and Change Failure Rate (CFR)
● Ship it quicker
● Ship smaller changes more
often
● Fix bugs quicker
● Detect bugs earlier
...keep the site online more
https://cloud.google.com/blog/products/devops-sre/using-the-four-keys-to-measure-your-devops-performance
Value Stream Mapping
https://visible.is/#value-stream-mapping
Composure
But… what if a deployment that has just taken the site offline??
Composure
● Be comfortable on the command line*
● Figure out how to get quick access to
○ Logs**
○ CPU/memory/IO metrics***
● Know how to rollback
● Check if it’s safe to rollback
● Know when to ask for help
● Know who to ask for help
* https://www.learnenough.com/command-line-tutorial/basics
** https://phoenixnap.com/kb/how-to-view-read-linux-log-files
*** https://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Interviewing
DevOps interviews are tricky
● Coding tests are rare (sometimes a terminal
test) but whiteboarding is common
● Technology specifics will usually be based
on their in-house stack
● Conceptual answers should be valid*
● Admit when you don’t know how something
works (but…)
● Provide examples of alternative approaches
where possible
* Too many different technology stacks, so try to relate theirs to something more familiar to you
On-call
● Ask what a typical on-call shift
looks like
○ How many out-of-hours
pages do they get?
● Ask how many other people
and teams are on-call also
● Ask how incidents are
prioritised and expected
resolution times
Should you consider it?
● You will get an opportunity to learn many new things, but your work will be
less visible to stakeholders
● Having root access means more risk, more danger
● Folks are very keen to teach, but takes the right mindset to learn
● Be careful as lots of jobs want rebranded sysadmins, have no intention of
fixing their broken processes (don’t let the salary suck you in)
https://www.commitstrip.com/en/
2012/11/29/nest-pas-root-qui-veut/
Summary
● Learn why to do something, not
how
● Start by analysing and optimising
what you are familiar with
● Pick the tools you find easiest to
use, but be aware of others
● Look at the human factors
● Measure everything, otherwise you
won’t know if it’s faster
● Be careful with job opportunities
Infrastructure Engineer at PartnerStack
(https://jobs.lever.co/partnerstack)
www.slideshare.net/secret/dYrg0kLRxz
p3K

Weitere ähnliche Inhalte

Was ist angesagt?

Infrastructure as Data with Ansible
Infrastructure as Data with AnsibleInfrastructure as Data with Ansible
Infrastructure as Data with AnsibleCarlo Bonamico
 
Ratpack Web Framework
Ratpack Web FrameworkRatpack Web Framework
Ratpack Web FrameworkDaniel Woods
 
Viktor Turskyi "Effective NodeJS Application Development"
Viktor Turskyi "Effective NodeJS Application Development"Viktor Turskyi "Effective NodeJS Application Development"
Viktor Turskyi "Effective NodeJS Application Development"Fwdays
 
Steve Sfartz - How to embed Messaging and Video in your apps - Codemotion Mil...
Steve Sfartz - How to embed Messaging and Video in your apps - Codemotion Mil...Steve Sfartz - How to embed Messaging and Video in your apps - Codemotion Mil...
Steve Sfartz - How to embed Messaging and Video in your apps - Codemotion Mil...Codemotion
 
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)Mihail Stoynov
 
Es fácil contribuir al open source - Bolivia JUG 2020
Es fácil contribuir al open source - Bolivia JUG 2020Es fácil contribuir al open source - Bolivia JUG 2020
Es fácil contribuir al open source - Bolivia JUG 2020César Hernández
 
Intro to Ratpack (CDJDN 2015-01-22)
Intro to Ratpack (CDJDN 2015-01-22)Intro to Ratpack (CDJDN 2015-01-22)
Intro to Ratpack (CDJDN 2015-01-22)David Carr
 
Creando microservicios con Java y Microprofile - Nicaragua JUG
Creando microservicios con Java y Microprofile - Nicaragua JUGCreando microservicios con Java y Microprofile - Nicaragua JUG
Creando microservicios con Java y Microprofile - Nicaragua JUGCésar Hernández
 
Open-source RPA: Leveraging Python and Robot Framework ecosystems for busines...
Open-source RPA: Leveraging Python and Robot Framework ecosystems for busines...Open-source RPA: Leveraging Python and Robot Framework ecosystems for busines...
Open-source RPA: Leveraging Python and Robot Framework ecosystems for busines...All Things Open
 
Building Web Apps in Ratpack
Building Web Apps in RatpackBuilding Web Apps in Ratpack
Building Web Apps in RatpackDaniel Woods
 
Ratpack - Classy and Compact Groovy Web Apps
Ratpack - Classy and Compact Groovy Web AppsRatpack - Classy and Compact Groovy Web Apps
Ratpack - Classy and Compact Groovy Web AppsJames Williams
 
ZendCon 2015 - DevOps for Small Teams
ZendCon 2015 - DevOps for Small TeamsZendCon 2015 - DevOps for Small Teams
ZendCon 2015 - DevOps for Small TeamsJoe Ferguson
 
12 tips on Django Best Practices
12 tips on Django Best Practices12 tips on Django Best Practices
12 tips on Django Best PracticesDavid Arcos
 
Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...
Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...
Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...Codemotion
 
Organizing Your PHP Projects (2010 ConFoo)
Organizing Your PHP Projects (2010 ConFoo)Organizing Your PHP Projects (2010 ConFoo)
Organizing Your PHP Projects (2010 ConFoo)Paul Jones
 
javerosmx-2015-marzo-groovy-java8-comparison
javerosmx-2015-marzo-groovy-java8-comparisonjaverosmx-2015-marzo-groovy-java8-comparison
javerosmx-2015-marzo-groovy-java8-comparisonDomingo Suarez Torres
 
Its easy! contributing to open source - Devnexus 2020
Its easy! contributing to open source - Devnexus 2020Its easy! contributing to open source - Devnexus 2020
Its easy! contributing to open source - Devnexus 2020César Hernández
 

Was ist angesagt? (20)

Infrastructure as Data with Ansible
Infrastructure as Data with AnsibleInfrastructure as Data with Ansible
Infrastructure as Data with Ansible
 
Ratpack Web Framework
Ratpack Web FrameworkRatpack Web Framework
Ratpack Web Framework
 
Viktor Turskyi "Effective NodeJS Application Development"
Viktor Turskyi "Effective NodeJS Application Development"Viktor Turskyi "Effective NodeJS Application Development"
Viktor Turskyi "Effective NodeJS Application Development"
 
Steve Sfartz - How to embed Messaging and Video in your apps - Codemotion Mil...
Steve Sfartz - How to embed Messaging and Video in your apps - Codemotion Mil...Steve Sfartz - How to embed Messaging and Video in your apps - Codemotion Mil...
Steve Sfartz - How to embed Messaging and Video in your apps - Codemotion Mil...
 
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
 
Es fácil contribuir al open source - Bolivia JUG 2020
Es fácil contribuir al open source - Bolivia JUG 2020Es fácil contribuir al open source - Bolivia JUG 2020
Es fácil contribuir al open source - Bolivia JUG 2020
 
Intro to Ratpack (CDJDN 2015-01-22)
Intro to Ratpack (CDJDN 2015-01-22)Intro to Ratpack (CDJDN 2015-01-22)
Intro to Ratpack (CDJDN 2015-01-22)
 
Git sourcecontrolpreso
Git sourcecontrolpresoGit sourcecontrolpreso
Git sourcecontrolpreso
 
Creando microservicios con Java y Microprofile - Nicaragua JUG
Creando microservicios con Java y Microprofile - Nicaragua JUGCreando microservicios con Java y Microprofile - Nicaragua JUG
Creando microservicios con Java y Microprofile - Nicaragua JUG
 
Open-source RPA: Leveraging Python and Robot Framework ecosystems for busines...
Open-source RPA: Leveraging Python and Robot Framework ecosystems for busines...Open-source RPA: Leveraging Python and Robot Framework ecosystems for busines...
Open-source RPA: Leveraging Python and Robot Framework ecosystems for busines...
 
Exploring French Job Ads, Lynn Cherny
Exploring French Job Ads, Lynn ChernyExploring French Job Ads, Lynn Cherny
Exploring French Job Ads, Lynn Cherny
 
Building Web Apps in Ratpack
Building Web Apps in RatpackBuilding Web Apps in Ratpack
Building Web Apps in Ratpack
 
Ratpack - Classy and Compact Groovy Web Apps
Ratpack - Classy and Compact Groovy Web AppsRatpack - Classy and Compact Groovy Web Apps
Ratpack - Classy and Compact Groovy Web Apps
 
ZendCon 2015 - DevOps for Small Teams
ZendCon 2015 - DevOps for Small TeamsZendCon 2015 - DevOps for Small Teams
ZendCon 2015 - DevOps for Small Teams
 
12 tips on Django Best Practices
12 tips on Django Best Practices12 tips on Django Best Practices
12 tips on Django Best Practices
 
Becoming A Php Ninja
Becoming A Php NinjaBecoming A Php Ninja
Becoming A Php Ninja
 
Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...
Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...
Alberto Maria Angelo Paro - Isomorphic programming in Scala and WebDevelopmen...
 
Organizing Your PHP Projects (2010 ConFoo)
Organizing Your PHP Projects (2010 ConFoo)Organizing Your PHP Projects (2010 ConFoo)
Organizing Your PHP Projects (2010 ConFoo)
 
javerosmx-2015-marzo-groovy-java8-comparison
javerosmx-2015-marzo-groovy-java8-comparisonjaverosmx-2015-marzo-groovy-java8-comparison
javerosmx-2015-marzo-groovy-java8-comparison
 
Its easy! contributing to open source - Devnexus 2020
Its easy! contributing to open source - Devnexus 2020Its easy! contributing to open source - Devnexus 2020
Its easy! contributing to open source - Devnexus 2020
 

Ähnlich wie How to get started with Site Reliability Engineering

Andrea Di Persio
Andrea Di PersioAndrea Di Persio
Andrea Di PersioCodeFest
 
DevOps Fest 2020. immutable infrastructure as code. True story.
DevOps Fest 2020. immutable infrastructure as code. True story.DevOps Fest 2020. immutable infrastructure as code. True story.
DevOps Fest 2020. immutable infrastructure as code. True story.Vlad Fedosov
 
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - PanoraysHacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - PanoraysDemi Ben-Ari
 
System design for Web Application
System design for Web ApplicationSystem design for Web Application
System design for Web ApplicationMichael Choi
 
From hello world to goodbye code
From hello world to goodbye codeFrom hello world to goodbye code
From hello world to goodbye codeKim Moir
 
Advanced web application architecture - Talk
Advanced web application architecture - TalkAdvanced web application architecture - Talk
Advanced web application architecture - TalkMatthias Noback
 
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
AD113  Speed Up Your Applications w/ Nginx and PageSpeedAD113  Speed Up Your Applications w/ Nginx and PageSpeed
AD113 Speed Up Your Applications w/ Nginx and PageSpeededm00se
 
Hacking Vulnerable Websites to Bypass Firewalls
Hacking Vulnerable Websites to Bypass FirewallsHacking Vulnerable Websites to Bypass Firewalls
Hacking Vulnerable Websites to Bypass FirewallsNetsparker
 
Top 30 Scalability Mistakes
Top 30 Scalability MistakesTop 30 Scalability Mistakes
Top 30 Scalability MistakesJohn Coggeshall
 
Pentester++
Pentester++Pentester++
Pentester++CTruncer
 
Infrastructure as code might be literally impossible part 2
Infrastructure as code might be literally impossible part 2Infrastructure as code might be literally impossible part 2
Infrastructure as code might be literally impossible part 2ice799
 
Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015Mirco Hering
 
Lunch and learn as3_frameworks
Lunch and learn as3_frameworksLunch and learn as3_frameworks
Lunch and learn as3_frameworksYuri Visser
 
The working architecture of NodeJS applications, Виктор Турский
The working architecture of NodeJS applications, Виктор ТурскийThe working architecture of NodeJS applications, Виктор Турский
The working architecture of NodeJS applications, Виктор ТурскийSigma Software
 
The working architecture of node js applications open tech week javascript ...
The working architecture of node js applications   open tech week javascript ...The working architecture of node js applications   open tech week javascript ...
The working architecture of node js applications open tech week javascript ...Viktor Turskyi
 
Cs121 Unit Test
Cs121 Unit TestCs121 Unit Test
Cs121 Unit TestJill Bell
 
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20Michael Lihs
 

Ähnlich wie How to get started with Site Reliability Engineering (20)

Andrea Di Persio
Andrea Di PersioAndrea Di Persio
Andrea Di Persio
 
DevOps Fest 2020. immutable infrastructure as code. True story.
DevOps Fest 2020. immutable infrastructure as code. True story.DevOps Fest 2020. immutable infrastructure as code. True story.
DevOps Fest 2020. immutable infrastructure as code. True story.
 
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - PanoraysHacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
 
System design for Web Application
System design for Web ApplicationSystem design for Web Application
System design for Web Application
 
From hello world to goodbye code
From hello world to goodbye codeFrom hello world to goodbye code
From hello world to goodbye code
 
Advanced web application architecture - Talk
Advanced web application architecture - TalkAdvanced web application architecture - Talk
Advanced web application architecture - Talk
 
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
AD113  Speed Up Your Applications w/ Nginx and PageSpeedAD113  Speed Up Your Applications w/ Nginx and PageSpeed
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
 
Hacking Vulnerable Websites to Bypass Firewalls
Hacking Vulnerable Websites to Bypass FirewallsHacking Vulnerable Websites to Bypass Firewalls
Hacking Vulnerable Websites to Bypass Firewalls
 
Top 30 Scalability Mistakes
Top 30 Scalability MistakesTop 30 Scalability Mistakes
Top 30 Scalability Mistakes
 
Pentester++
Pentester++Pentester++
Pentester++
 
Usable Software Design
Usable Software DesignUsable Software Design
Usable Software Design
 
DevOps-Roadmap
DevOps-RoadmapDevOps-Roadmap
DevOps-Roadmap
 
Infrastructure as code might be literally impossible part 2
Infrastructure as code might be literally impossible part 2Infrastructure as code might be literally impossible part 2
Infrastructure as code might be literally impossible part 2
 
Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015
 
Lunch and learn as3_frameworks
Lunch and learn as3_frameworksLunch and learn as3_frameworks
Lunch and learn as3_frameworks
 
The working architecture of NodeJS applications, Виктор Турский
The working architecture of NodeJS applications, Виктор ТурскийThe working architecture of NodeJS applications, Виктор Турский
The working architecture of NodeJS applications, Виктор Турский
 
The working architecture of node js applications open tech week javascript ...
The working architecture of node js applications   open tech week javascript ...The working architecture of node js applications   open tech week javascript ...
The working architecture of node js applications open tech week javascript ...
 
Cs121 Unit Test
Cs121 Unit TestCs121 Unit Test
Cs121 Unit Test
 
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
 
Node.js Course 2 of 2 - Advanced techniques
Node.js Course 2 of 2 - Advanced techniquesNode.js Course 2 of 2 - Advanced techniques
Node.js Course 2 of 2 - Advanced techniques
 

Kürzlich hochgeladen

Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.CarlotaBedoya1
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663Call Girls Mumbai
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Onlineanilsa9823
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Standkumarajju5765
 

Kürzlich hochgeladen (20)

Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 

How to get started with Site Reliability Engineering

  • 1. How to get started with Site Reliability Engineering Women Who Code Toronto, April 2021
  • 3. Breakdown of Engineering roles by gender https://juliasilge.com/blog/salary-gender/
  • 4. Scatter graph of roles by gender So how much of a gender imbalance is there for SRE roles? https://insights.stackoverflow.com/survey/2020#developer-profile-gender
  • 5. Scatter graph of roles by gender Around 30x... https://insights.stackoverflow.com/survey/2020#developer-profile-gender
  • 6. Job titles, oh so many job titles... ● System Administrator ● Cloud Architect ● Infrastructure Engineer ● Site Reliability Engineer ● DevOps Engineer ● Platform Engineer (least coding to most coding… sort of not really it’s all made up)
  • 7. So why is there such a gender imbalance?
  • 8. Possibly because no-one can agree what “DevOps” is “We interview a lot of engineers and hiring managers about what they're looking for when they hire for pertinent roles.” “We usually find a clear consensus on what the relevant skills are.” “When we did this for DevOps, we found no such consensus.” https://triplebyte.com/blog/no-one-agrees-on-what-devops-means-not-even-employers
  • 9. Probably because no-one can agree what is is “On one end of the spectrum, there are back-end developers who focus on building infrastructure and automation tools.” “On the other end of the spectrum, there are systems experts who serve as the first line of defense against production outages but rarely write code aside from the occasional shell script” https://triplebyte.com/blog/no-one-agrees-on-what-devops-means-not-even-employers
  • 10. “DevOps is a philosophy before it’s a job title”
  • 12. Common assumptions ● Linux expert ● Networking wizard ● Learn every AWS product ● Run everything in Docker ● CI/CD* all the things ● Automate everything ● ... * Continuous Integration/Continuous Delivery (run my tests then deploy automatically… continuously)
  • 13. Truth is, we have (almost) no idea what we are doing
  • 14. What are you really expected to know? ● Is your application is running well? ● Advantages and limitations of your current processes ● Alternative ways of deploying, hosting and architecting your current platform ● “Shared suffering makes a team a team” try to learn from people who have battle scars https://psmag.com/books-and-culture/painful-experiences-solidarity-bonding-power-shared-suffering-90352
  • 15. The how isn’t important, but the why
  • 17. Technologies ● Don’t learn Kubernetes*, but containerisation ● Don’t just learn AWS, but cloud computing ● Nothing wrong with hacky scripts to get started ● Databases, queues and caches are your friends and worst enemies... * I mean, you will have to eventually, but no-one really knows how it works anyways
  • 18. What could you learn?
  • 19. What could you learn? Many, many things. But mostly fall into these categories... ● Repeatability - Can I do it the same way over and over? ● Observability - Can I tell if it’s working well or not? ● Efficiency - Can I make this happen faster/cheaper? ● Composure - Can I fix this without panicking?
  • 20. Repeatability ● Don’t you mean automation? Shouldn’t you automate all the things? ● Repeatability is a bi-product of automation, automation is the means not the end result ● Wise co-worker said to me once “if you have to do it more than twice, write a script so you don’t mess it up the third time”
  • 22. Repeatability, deployment example 1. Drag my files via a GUI onto the server 2. Run a command to copy files onto the server 3. Write a bash script to copy files onto the server 4. Modify the bash script to backup previous version 5. Write another bash script to rollback to previous version… 6. … 7. … 8. ...
  • 23. Repeatability, deployment example 99. … 100. Finish building Kubernetes https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/deployment/rollback.go
  • 25. Observability 1. Is there anything weird in the logs? 2. How much CPU/etc. is my application using? ○ How much does the thing my application is running on have? 3. How fast is it responding? ○ How fast does it usually respond? 4. How many other applications/services* does my application depend on? ○ Repeat 1-4 for each of those * Remember that web servers, databases, caches and queues are just applications someone else wrote
  • 27. Service Level Agreement (SLA) example ● SLA - My website must be available 99.9% of the time each month (43 minutes) or my paying customers get a (partial) refund ● Service Level Objective (SLO) ○ Back-end - API must not be down for more than 43 minutes each month ○ Front-end - Front-end must not have a broken User Experience (UX) for more than 43 minutes each month https://en.wikipedia.org/wiki/High_availability
  • 28. Service Level Agreement (SLA) example How do you define “down” or “broken”? ● Service Level Indicator (SLI) ○ Back-end - API must respond to requests in less than 5 seconds, 99.9% of the time ○ Front-end - Time To Interactive* must be less than 10 seconds, 99.9% of the time * https://web.dev/interactive/
  • 29. Service Level Agreement (SLA) example Any decent observability stack can capture this information https://www.g2.com/categories/enterprise-monitoring
  • 30. Efficiency Code problem, or a process problem? ● I know where the website is slow, but I don’t know why the website is slow… ● It takes ages to release my feature, who or what keeps holding it up?
  • 31. Know your stack Learn where your stack has strengths and weaknesses ● What API calls, scheduled tasks or page renders take longer than average? ● Using profiling tools, what specifically is slow? ● Can I solve with the language? ● Can I solve at the database/cache? ● Can I solve with re-architecting?
  • 32. DevOps Research and Assessments (DORA) metrics Deployment Frequency (DF), Mean Lead Time for changes (MLT), Mean Time To Recover (MTTR) and Change Failure Rate (CFR) ● Ship it quicker ● Ship smaller changes more often ● Fix bugs quicker ● Detect bugs earlier ...keep the site online more https://cloud.google.com/blog/products/devops-sre/using-the-four-keys-to-measure-your-devops-performance
  • 34. Composure But… what if a deployment that has just taken the site offline??
  • 35. Composure ● Be comfortable on the command line* ● Figure out how to get quick access to ○ Logs** ○ CPU/memory/IO metrics*** ● Know how to rollback ● Check if it’s safe to rollback ● Know when to ask for help ● Know who to ask for help * https://www.learnenough.com/command-line-tutorial/basics ** https://phoenixnap.com/kb/how-to-view-read-linux-log-files *** https://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
  • 37. DevOps interviews are tricky ● Coding tests are rare (sometimes a terminal test) but whiteboarding is common ● Technology specifics will usually be based on their in-house stack ● Conceptual answers should be valid* ● Admit when you don’t know how something works (but…) ● Provide examples of alternative approaches where possible * Too many different technology stacks, so try to relate theirs to something more familiar to you
  • 38. On-call ● Ask what a typical on-call shift looks like ○ How many out-of-hours pages do they get? ● Ask how many other people and teams are on-call also ● Ask how incidents are prioritised and expected resolution times
  • 39. Should you consider it? ● You will get an opportunity to learn many new things, but your work will be less visible to stakeholders ● Having root access means more risk, more danger ● Folks are very keen to teach, but takes the right mindset to learn ● Be careful as lots of jobs want rebranded sysadmins, have no intention of fixing their broken processes (don’t let the salary suck you in)
  • 41. Summary ● Learn why to do something, not how ● Start by analysing and optimising what you are familiar with ● Pick the tools you find easiest to use, but be aware of others ● Look at the human factors ● Measure everything, otherwise you won’t know if it’s faster ● Be careful with job opportunities Infrastructure Engineer at PartnerStack (https://jobs.lever.co/partnerstack) www.slideshare.net/secret/dYrg0kLRxz p3K