Chihuahua
-sized load testing
Whoami?
qLeandro Melendez
qAdvocate @Grafana k6
qSeñor Performo @srperf
qPerfBytes
qYoutube
qBook
Gracias, amigos!
Summmmmary
vPerf and puppies
vLarge Vs Small
vChihuahua Tips
Perf Pups
Other pups
You may remember me from such…
https://www.srperf.com/functional-vs-performance-test-cases/
Changes
Now...
Building Living
and
Smaller & Moving
Giant pup…
Smaller & Moving
Smaller & Moving
Must
Choose
Large v Small
What do I really Mean
BALT
Chihuahua
BALT
Big Ass Load Test
All terrain
Multi protocol!
BALT
Heavy Requirements
Only the owner
Privileged
Licenses
Knowledge
Permission
Skills
Huge
walks
Multi-step test cases, do all!
Drags everything
Environments, processes, pipelines, etc.
Heavy
Load, load, load!
Chihuahua-size
Small
Cute
Manageable
Friendly-ish
Yo quiero
performance
test
Tiny and light
Wont kill anyone
Manageable . . . . . .. . .
Unnoticeable .. . . . . .. . .
Small SW too!
Work well
Focused, straight, show ROI
Fast n Snappy
Don’t need many resources
Happy
Tiny length
Repeatable
Stable
Small loads
Pipeline
Easy to include in
Standard protocols
HTTP mostly
Avoid weird ones
Heavy when you want load
Shareable!
Friendly
For
The
Whole
team
Anyone
To
Work
on
Play with each other
Load!
Can be put together!
Serious talk
Huge load tests (BALT)
• Heavy
• Disruptive
• Weird in elastic envs
• Questionable in most cases
• Results don’t last long
• Code/Env freeze
• Need special ppl/resources
• Hard to integrate agile
• Increase cloud costs
• Only when needed
Mini load tests (Chihuahua)
• Light n lean
• Hardly noticeable
• Pulse of the solution
• Continuous and pipelines
• Results update frequently
• Run them everywhere no freeze
• Easy for whole team
• Agile create, update, run
• No impact
• Always, on every environment
Subset of cloud load tests
Number
of runs
Duration (mins)
Mini Tips
Stop the
obsession
- You live in an apartment
- It is tiny and moving
- Lots of people in, moving
- Huge food and 💩
- Time requirements
- Could kill envs
Smaller
Is better
- Chihuahua first
- Little resources
- Wont kill anyone
- Purseable (pipelines)
- Can play inside (prod)
- Shareable n’friendly
Enter the
Pyramid
It is 3d
Automation Load
sniff everything
Tiny & continuously outside the pipeline
Keep smells
For future use, comparisons & observability
Don’t have to sniff
everything
Small load for what is in the release
Avoid huge in pipelines
Slow, Heavy, Risky, impactful, etc.
Don’t stop the pipeline
Slow, Heavy, Risky, impactful, etc.
need No huge
. . .almost
Chihuahua is enough
Rarely
Need
Huge
Huge
So
2000’s
Light
Keep lean: runs, sw, reqs.
Friendly loads-scripts
Accessible to the whole team
When you need
BALT
You may meet Taylor Swift
When you need
BALT
You have many chihuahuas, stack them
… but not in the pipeline
Gotta go!
But there is much more…
Gracias!
Q&A
@SrPerf FB TW YT
Leandro Melendez LI

Leandro Melendez - Chihuahua Load Tests.pdf