Performance Engineering Masterclass
Introduction to Modern
Performance
Leandro Melendez / SrPerf
Performance Engineering Masterclass
Leandro Melendez/SrPerf
● Performance Advocate
@Grafana k6
● Podcaster/Youtuber @PerfBytes
as SrPerf
● Book - The Hitchhiking Guide To
Load Testing Projects
Performance Engineering Masterclass
Performance?
Performance Engineering Masterclass
Performance != Load
Performance Engineering Masterclass
Performance Testing
Verify and validate:
■ Speed
■ Efficiency
■ Situation
5
6
Performance
Testing
Load testing Synthetics
RUM SRE
Single thread Much more…
Performance Engineering Masterclass
Performance Testing
Verify and validate:
■ Speed
■ Efficiency
■ Situation
7
LoadTesting
Verify and validate:
■ Speed (Reliance)
■ Capacity
■ Load Situations
Performance Engineering Masterclass
Modern performance
Must be continuous
Service oriented
Light tools
4 Everyone
Not only load
8
8
CI/CD, services, containers, cloud…
Observable
Shareable
Triggerable
Pipelineable
Syntheticable
Performance Engineering Masterclass
Modern teams shifting performance testing left &
right
Testing frequency
Release frequency
What to test
How is performance testing
initiated
When to test
Who is responsible for
performance testing
OLD WAY
Quarterly or biannually
QA
Load tests through user stories
Manually
Before releases
After all Dev and QA, right before release
NEW WAY
Weekly
Developers, QA/SDET, SRE
Continuously: at code check-in, nightly/weekly,
when infra changes, before releases
Multiple scenarios through user stories,
services, infrastructure
Automatically and continuously as part of
CI/CD
Continuously through the SDLC and in prod
What are the incentives Misaligned between functions Aligned incentives of SLOs & Error budgets
Performance Engineering Masterclass
How to?
Modern Performance
Performance Engineering Masterclass
Performance early, during, after
Before the
project starts
■ Tools
■ Processes
■ Guidelines
11
Performance Engineering Masterclass
Performance early, during, after
12
Every sprint or
requirement
■ What2measure
■ What2Test
■ Good || Bad
Performance Engineering Masterclass
Performance early, during, after
13
After production
release
■ What2Test
■ Good || Bad
■ Alerts/Actions
Performance Engineering Masterclass
Early decisions Tools, processes, guidelines:
14
14
Performance Engineering Masterclass
Continuous actions
- SW changing
continuously
- Devs automate
- SLOs defined
15
- Paired & continuous
- Not just load
- Measure as
progress
Continuous performance
Development
Single
Process
Small
Load
Single
Process
1 user
Continuous
Synthetics
Staging Release Production
Multi
Process
Prod
Load
Multi
Process
Stress
Load
Create
Script
Define
SLOs
Demo!
Performance Engineering Masterclass
Performance Engineering Masterclass
Keep in touch!
Leandro Melendez
DevRel Performance
Grafana k6
leandro@k6.io
@SrPerf

Performance Engineering Masterclass: Introduction to Modern Performance