PERFORMANCE
OPTIMIZATIONS

https://goo.gl/TW2Auj

Carlo Alberto Ferraris

Senior DevOps Engineer, Lead

Rakuten Platform as a Service

 

@cafxx

(opinions are my own, not my employer's)

DEVOPS
PERFORMANCE
OPTIMIZATIONS

THEORY != PRACTICE

In theory, there is no difference
between theory and practice.

But, in practice, there is.

 

J. L. A. van de Snepscheut

 ←​PRACTICE

 ←​THEORY

 ←​THEORY

PRACTICE

In theory, that's a wonderful story.

But, in practice,
what am I supposed to do?

 

You

SHARED VALUES

🚀

https://www.youtube.com/watch?v=n4Wf14e2jxQ

ENOUGH WITH THE
HIPPY NEW-AGE STUFF!

SHOW US THE CODE!

 

You

CODE
LIKE

IT'S
2017

YOU
COST MORE
THAN THE
SERVERS

SCALE-OUT
ELASTICALLY

PET

V

CATTLE

FAILURE
IS NOT

AN OPTION

FAILURE
IS A

CERTAINTY

AT SCALE

THINGS ARE
ALWAYS

FAILING

REDUNDANCY

AVOID

DETECT

DEGRADE

RECOVER

PLAYBOOKS

 

 

 

 

AUTOMATION

DO OR DO NOT,

THERE IS NO TRY

 

- Yoda

KISS

(Keep It Simple, Stupid)

THE RATIO OF TIME SPENT READING VERSUS WRITING [CODE] IS WELL OVER 10 TO 1.


Robert C. Martin

MAKING [CODE] EASY TO READ MAKES IT EASIER TO WRITE.


Robert C. Martin

KISS

(Keep It Simple, Stupid)

SINGLE
PURPOSE

CIRCULAR

DEPENDENCIES

DECOUPLING

VISIBILITY

METRICS
LOGS
CATs

VALIDATE
TROUBLESHOOT

AUTOMATE

ALERT

CATs-BASED

ALERTS

KEEP THINGS SIMPLE

MEASURE EVERYTHING

OPTIMIZE WHAT MATTERS

You

SHARED VALUES

🚀

QUESTIONS?

Andrew Smith, "Off-White" (CC BY-SA 2.0)

michaelmoselle, "Polaris" (CC BY 2.0)

RIAA, "Parental advisory warning label" (Public domain)

Gartner, "Gartner IT Key Metrics Data 2012 IT Enterprise summary report"

12factor.net

Wikipedia, "Fallacies of distributed computing" (CC BY-SA 3.0)

 

Additional materials

https://github.com/davecheney/high-performance-go-workshop

https://blog.acolyer.org/2015/11/11/the-o-ring-theory-of-devops/

 

Please notify @cafxx in case contents are misattributed

This presentation is CC BY 4.0

DevOps Performance Optimizations

By Carlo Alberto Ferraris

DevOps Performance Optimizations

Optimizing your code by optimizing how you write code

  • 9,080