We Solved DevOps. What’s Next?

A presentation at DevOps Vision 2024 in December 2024 in Clearwater, FL, USA by Baruch Sadogursky

Slide 1

Slide 1

We solved DevOps. What’s next?

Slide 2

Slide 2

Baruch Sadogursky - @jbaru ch × Developer Productivity Advocate × DevRel Advisor for Gradle Inc × Development -> DevOps -> #DPE

Slide 3

Slide 3

shownotes × × × × speaking.jbaru.ch Slides Video All the links!

Slide 4

Slide 4

A decade of DORA x Deployment frequency x Change lead time x Change fail rate x MTTR

Slide 5

Slide 5

Slide 6

Slide 6

Puppet dora report 2015

Slide 7

Slide 7

Accelerate Dora report 2018

Slide 8

Slide 8

Google cloud DORA report 20 24

Slide 9

Slide 9

Cluster changes over time

Slide 10

Slide 10

We figured the “devops” shit out. Done.

Slide 11

Slide 11

Slide 12

Slide 12

Lead time over time

Slide 13

Slide 13

Why does lead time decline?!

Slide 14

Slide 14

Dev Ops DevOps QA

Slide 15

Slide 15

Process People DevOps Tools

Slide 16

Slide 16

Productive Process Productive People DevOps Productive Tools

Slide 17

Slide 17

Empowered Teams ?!?! DevOps Kubernetes

Slide 18

Slide 18

Production system of your production systems

Slide 19

Slide 19

The pain is real

Slide 20

Slide 20

Slide 21

Slide 21

Developer Productivity Engineering DevOps Kubernetes Empowered Teams

Slide 22

Slide 22

Developer productivity Enginee ring!

Slide 23

Slide 23

Developer Productivity Enginee Foster Faster Feedback Collaborate through Effective Tooling Eliminate Toil for Developers Dedicated Organizational Mindset ring Embrace Rigorous Observability for Proactive Improvement Prioritize Automation and Eliminate Bottlenecks Outcomes Over Output

Slide 24

Slide 24

Talk is cheap, show me the goods! 24

Slide 25

Slide 25

Small DPE improvements make a × × × × × huge difference Generate code faster: Better IDE Test better: Testcontainers Enforce better code: Sonar Test more reliably: Flaky test detection Foster Faster Feedback:

Slide 26

Slide 26

feedback efficiency × × × × IDE: Sub-seconds (I type, it marks it red) Build: Seconds CI: Minutes Production: Hours/Days

Slide 27

Slide 27

Reverse dependency on distance from developers IDE Build CI Production Feedback Time Faster Slower Distance from Developers Expected Real

Slide 28

Slide 28

Slide 29

Slide 29

It is slow!

Slide 30

Slide 30

Slide 31

Slide 31

It is slow and the developers h ave no idea why!

Slide 32

Slide 32

What is build? × × × × × Project setup Downloading the Internet Artifact generation: Compilation, packaging, etc Tests Artifact deployment

Slide 33

Slide 33

What can go wrong? × × × × × Project setup Downloading the Internet Artifact generation: Compilation, packaging, etc Tests Artifact deployment

Slide 34

Slide 34

When can it go wrong? At any time.

Slide 35

Slide 35

The Build frustrates the developers

Slide 36

Slide 36

Let’s ask Chatgpt

Slide 37

Slide 37

What the actual f*ck?! × Skipping tests defeats the purpose of the build! × How about skipping compilation? × We want faster feedback, not less feedback

Slide 38

Slide 38

What feedback do we want?

Slide 39

Slide 39

Ci/cd pipeline quality gates It compiles Basic Integration tests Basic Unit tests Basic Quality Linting Quality Code coverage Dependency scanning SAST/DAST Quality Sec Static code analysis Sec Sec Secrets scanning Resource Utilization Nonfunc Nonfunc Load Testing Nonfunc Compliance

Slide 40

Slide 40

Slide 41

Slide 41

Two types of feedback x e.g., CI/CD x we never wait for it x results are distracting x e.g., build x we’ll wait for it in the flow x we’ll be pissed off when it’s slow

Slide 42

Slide 42

Reverse dependency on distance from developers Faster IDE Build CI Feedback Time Commit time synchronous asynchronous Slower Distance from Developers Production

Slide 43

Slide 43

Ideal build time feedback It compiles Basic Integration tests Basic Unit tests Basic Quality Linting Quality Code coverage Dependency scanning SAST/DAST Quality Sec Static code analysis Sec Sec Secrets scanning Resource Utilization Nonfunc Nonfunc Load Testing Nonfunc Compliance

Slide 44

Slide 44

Slide 45

Slide 45

Delightful build (pick two): ☑ provides max feedback ☑ fast

Slide 46

Slide 46

Skip what can be skipped (but no more!)

Slide 47

Slide 47

Avoidance: Incremental build × Don’t build what didn’t changed × Don’t build what isn’t affected

Slide 48

Slide 48

Avoidance: Incremental build s hortcomings × Relies on produced artifacts × Relies on architectural decisions

Slide 49

Slide 49

Avoidance: Caching × × × × Makes the build faster Makes the build faster for everybody Makes the build faster always Makes all parts of the build faster

Slide 50

Slide 50

Slide 51

Slide 51

Avoidance: Predictive test selec tion × Learns code changes effects de-facto × Skips tests with high degree of confidence

Slide 52

Slide 52

How test prediction works × Code changes and test results are thrown into learning model × After a while, the model predicts which changes fail which tests

Slide 53

Slide 53

Test prediction What changed Where it changed Correlate with observed test failures Predictions which changes will fail which tests

Slide 54

Slide 54

Black magic in action × The more tests a project has, the less they break × Refactorings in Java break tests less than in JavaScript

Slide 55

Slide 55

Slide 56

Slide 56

Speed up what can’t be skipped

Slide 57

Slide 57

Test parallelization × Use max power of local machine × (Yes, your boss should buy you the bleeding edge)

Slide 58

Slide 58

Slide 59

Slide 59

Test distribution × × × × CI uses fan-out to speed-up tests Shouldn’t you enjoy it for local tests? Use the cloud to distribute test load RUN ALL THE TESTS!

Slide 60

Slide 60

Why not just using ci fan-out? × Relying on shared CI infrastructure × CI infrastructure is not optimized for real-time feedback! × Are the agents as fast as they can be?

Slide 61

Slide 61

Don’t let it slide

Slide 62

Slide 62

Observe and improve × Measure local build times across time and environments × Detect downfacing trends × Find root causes and improve

Slide 63

Slide 63

Slide 64

Slide 64

The gains are real!

Slide 65

Slide 65

Slide 66

Slide 66

Slide 67

Slide 67

Developer productivity is the n ext frontier × We figured out (most of) DevOps × If you want to excel in your production environment, you know how × But what about your path to production? × There is work to be done there. × DPE is the way to go!

Slide 68

Slide 68

Learn more and try it today! × × × × Take the Gradle/Maven Speed Challenge! Be DPE Agent of Change! Read the DPE Handbook! Watch the DPE Summit keynotes! x speaking.jbaru.ch

Slide 69

Slide 69

THANKS! Q&A and Twitter X/Bsky/Mastodon/LinkedIn ads: x @jbaruch x #DevOpsVision x speaking.jbaru.ch